From: Silvio Rhatto Date: Fri, 21 Apr 2017 11:27:33 +0000 (-0300) Subject: Adds updown X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=59b0967b9e52ecb6b51786f35d0a57be091caefe;p=utils-git.git Adds updown --- 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