diff options
author | George Miller <George@livio.io> | 2022-08-04 11:33:26 -0400 |
---|---|---|
committer | George Miller <George@livio.io> | 2022-08-04 11:33:26 -0400 |
commit | 319f1d5daf7d68df77c8e362058ffdb4cb55e2e3 (patch) | |
tree | 0387bf203cb5756e17388efb802d11766f8fd796 | |
parent | 415a7291ea6ded30ce4654d5241f9ac9c30c66ff (diff) | |
download | sdl_ios-319f1d5daf7d68df77c8e362058ffdb4cb55e2e3.tar.gz |
added git clean
-rwxr-xr-x | scripts/release.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/release.sh b/scripts/release.sh index bc5b7cbd7..320f12e63 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -65,9 +65,10 @@ else echo "Local changes have been stashed." echo "Use \"git stash pop\" when this script is complete to restore your changes" else - # Dump local changes to prevent issues with checkout + # Dump local changes to prevent issues with checkout. Reset cleans up any uncommitted changes to the index. Clean takes care of non-indexed files. echo "Local changes were not stashed." git reset --hard + git clean -fxd fi fi |