From: Silvio Rhatto Date: Sat, 3 Jun 2017 01:49:33 +0000 (-0300) Subject: Enhance commit strategy at updown X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=dc7e45b1fa836f943440aa6a6b91ec9765ba25e3;p=utils-git.git Enhance commit strategy at updown --- diff --git a/updown b/updown index 732c9d1..6b27024 100755 --- a/updown +++ b/updown @@ -3,7 +3,12 @@ # commit, merge, push and fetch # -commit $* +if [ ! -z "$*" ]; then + commit $* +else + updates +fi + git merge-to master if [ "`git branch | grep '^*'`" == '* develop' ]; then