aboutsummaryrefslogtreecommitdiff
path: root/updown
diff options
context:
space:
mode:
Diffstat (limited to 'updown')
-rwxr-xr-xupdown13
1 files changed, 13 insertions, 0 deletions
diff --git a/updown b/updown
new file mode 100755
index 0000000..732c9d1
--- /dev/null
+++ b/updown
@@ -0,0 +1,13 @@
+#!/bin/bash
+#
+# commit, merge, push and fetch
+#
+
+commit $*
+git merge-to master
+
+if [ "`git branch | grep '^*'`" == '* develop' ]; then
+ git push all
+fi
+
+git fetch --all