X-Git-Url: http://www2.svjatoslav.eu/gitweb/?p=fifth.git;a=blobdiff_plain;f=tools%2Fsynchronize;fp=tools%2Fsynchronize;h=8427b129b2decf09dc629f09454f6a7b9d912d88;hp=0000000000000000000000000000000000000000;hb=a913785891f6089f929cf5e12720d1da1269de51;hpb=92bdcd72ccafd7ca2ea44a704ab06356d28fb2dd diff --git a/tools/synchronize b/tools/synchronize new file mode 100755 index 0000000..8427b12 --- /dev/null +++ b/tools/synchronize @@ -0,0 +1,18 @@ +#!/bin/bash +cd "${0%/*}"; if [ "$1" != "T" ]; then gnome-terminal -- "$0" T; exit; fi + +cd .. + +# pull latest content from repository +git pull + +# stage all changes +git add --all + +# open GUI to confirm/revert/commit changes +cola + +# push changes to remote repository +git push + +sleep 3