diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-06-18 11:36:51 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-06-18 11:36:51 +0200 |
commit | 1c61b2d46b2d19db3251f7ca73e3621164a38ca4 (patch) | |
tree | 5d465b206ff1a34d5fc95c440e9c10da497d2424 | |
parent | 8d1f0c71bd9e801faf123582821c2b88a9d45ddc (diff) |
Use -A git add option to also remove files during commit
-rwxr-xr-x | commit.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ for i in $modules; do echo "commit $i" 1>&2 cd $i if [ "$add" = "y" ]; then - git add . + git add -A . if [ $? -ne 0 ]; then echo "add FAILED" 1>&2 |