This commit is contained in:
Mayel 2021-04-30 13:21:25 +02:00
parent cec10bcc9a
commit 8e4aa6ee1d

View file

@ -5,6 +5,8 @@ echo Checking for changes in $DIR
cd $DIR
git add .
set +e # Grep succeeds with nonzero exit codes to show results.
if git status | grep -q -E 'modified|ahead'
then
@ -13,7 +15,6 @@ then
git config core.fileMode false
# have to add/commit before being able to rebase
git add .
git commit -a
# fetch and rebase remote changes