This commit is contained in:
Mayel 2021-09-21 13:42:21 +12:00
parent 258d80ee20
commit 182ddba2c8

View file

@ -5,6 +5,8 @@ echo Checking for changes in $DIR
cd $DIR
git config core.fileMode false
# add all changes (including untracked files)
git add --all .
@ -14,8 +16,6 @@ if git status | grep -q -E 'Changes|modified|ahead'
then
set -e
git config core.fileMode false
# if there are changes, commit them (needed before being able to rebase)
git diff-index --quiet HEAD || git commit --verbose --all || echo Skipped...