You can pass a string, or array of, file pattern(s) here which you want to have survive the cleaning process, and remain on disk, e.g. Set this to true if you want the equivalent of a fresh clone, and for all untracked and ignore files to also be removed Setting this to true will clean the whole repository, ignoring anything in your local. Skip 'git clean' to avoid removing untracked files like. Only recommended in combination with files option Skip verifying of previously clean state of repo. ![]() If not given, all files will be discarded Optional, defaults to false.Īrray of files the changes should be discarded. Reset_git_repo(skip_clean: true) # If you want "git clean" to be skipped, thus NOT deleting untracked files like ".env". This will reset the repo even if you have valuable uncommitted changes, so use with care! Reset_git_repo(force: true) # If you don't care about warnings and are absolutely sure that you want to discard all changes. This ensures that your repo started off in a clean state, so the only things that will get destroyed by this action are files that are created as a byproduct of the fastlane run.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |