aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-11-03 11:46:59 -0200
committerSilvio Rhatto <rhatto@riseup.net>2016-11-03 11:46:59 -0200
commit60ba48cf69cb16f0bf99ae7adfc0a75a5271d286 (patch)
tree4ac0228f08ff7b8385cbccde63980105c3811d8e
parentd3effd09b15bcbece5c85ba23832bc8a88adc685 (diff)
downloadutils-git-60ba48cf69cb16f0bf99ae7adfc0a75a5271d286.tar.gz
utils-git-60ba48cf69cb16f0bf99ae7adfc0a75a5271d286.tar.bz2
Adds 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