X-Git-Url: http://www2.svjatoslav.eu/gitweb/?p=javainspect.git;a=blobdiff_plain;f=tools%2Fcommit%20and%20push;fp=tools%2Fcommit%20and%20push;h=d659072b3f9519f924b16e830ecf883f5b255571;hp=057b511afb9ab4004d683838c1f504d1dc36204b;hb=24bdc9b5da08abff29ae1cf9199ed06668e49cc4;hpb=6df8ead7c2fdfe12e2b71d25edcab0abf4b93c89 diff --git a/tools/commit and push b/tools/commit and push index 057b511..d659072 100755 --- a/tools/commit and push +++ b/tools/commit and push @@ -1,10 +1,11 @@ #!/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 .. - -cola -git push +( + cd .. + cola + git push +) echo "" echo "Press ENTER to close this window."