X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=repository%20handling%20tools%2Fcommit%20and%20push;h=a2bafd790ea1fb57f8787fd7d29b5063f6ffdd9e;hb=f991466e29f7ea23c18c24e090ae323b213c5055;hp=b3a2a3e76b247daaf0c10d3457f60059eea195ba;hpb=963dc32cbdaf3fb85af28317887b86bc84e61a3f;p=physical.git diff --git a/repository handling tools/commit and push b/repository handling tools/commit and push index b3a2a3e..a2bafd7 100755 --- a/repository handling tools/commit and push +++ b/repository handling tools/commit and push @@ -1,10 +1,12 @@ #!/bin/bash -cd "${0%/*}"; if [ "$1" != "T" ]; then gnome-terminal -e "'$0' T"; exit; fi; + +cd "${0%/*}"; if [ "$1" != "T" ]; then gnome-terminal -- "$0" T; exit; fi; cd .. git add --all cola +git pull git push echo ""