X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=repository%20handling%20tools%2Fcommit%20and%20push;h=e674bf161f257412a006bee6f0d4d126d00e004f;hb=HEAD;hp=057b511afb9ab4004d683838c1f504d1dc36204b;hpb=64a9a1e7f550e06574b644bf35fa1b6dfdede4d8;p=physical.git diff --git a/repository handling tools/commit and push b/repository handling tools/commit and push index 057b511..a2bafd7 100755 --- a/repository handling tools/commit and push +++ b/repository handling tools/commit and push @@ -1,9 +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 ""