mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-14 23:22:40 +00:00
script
This commit is contained in:
parent
258d80ee20
commit
182ddba2c8
|
@ -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...
|
||||
|
||||
|
|
Loading…
Reference in a new issue