Updated documentation
[fifth.git] / tools / synchronize
diff --git a/tools/synchronize b/tools/synchronize
new file mode 100755 (executable)
index 0000000..8427b12
--- /dev/null
@@ -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