aboutsummaryrefslogtreecommitdiff
path: root/gsync
diff options
context:
space:
mode:
Diffstat (limited to 'gsync')
-rwxr-xr-xgsync16
1 files changed, 16 insertions, 0 deletions
diff --git a/gsync b/gsync
new file mode 100755
index 0000000..14f18a0
--- /dev/null
+++ b/gsync
@@ -0,0 +1,16 @@
+#!/bin/bash
+#
+# Commit, push and fetch
+#
+
+# Parameters
+PROJECT="$1"
+
+# Try to get there
+if [ ! -z "$PROJECT" ]; then
+ cd $PROJECT
+fi
+
+# Sync
+up
+mr fetch