diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-06-02 22:49:33 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-06-02 22:49:33 -0300 |
commit | dc7e45b1fa836f943440aa6a6b91ec9765ba25e3 (patch) | |
tree | 7b127933e71cb7703fb34b7a8529ee5604b746d8 /updown | |
parent | c3ad995c1ecf910e3a657293f9c8d4a614059f4f (diff) | |
download | utils-git-dc7e45b1fa836f943440aa6a6b91ec9765ba25e3.tar.gz utils-git-dc7e45b1fa836f943440aa6a6b91ec9765ba25e3.tar.bz2 |
Enhance commit strategy at updown
Diffstat (limited to 'updown')
-rwxr-xr-x | updown | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |