aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-04-21 08:27:33 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-04-21 08:27:33 -0300
commit59b0967b9e52ecb6b51786f35d0a57be091caefe (patch)
tree50bf20e111295c742ceb72bb41016dcbfeb5d45c
parent3881b4031c2ec30bb7f47e210580d7580e26c452 (diff)
downloadutils-git-59b0967b9e52ecb6b51786f35d0a57be091caefe.tar.gz
utils-git-59b0967b9e52ecb6b51786f35d0a57be091caefe.tar.bz2
Adds 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