diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-04-21 08:27:33 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-04-21 08:27:33 -0300 |
commit | 59b0967b9e52ecb6b51786f35d0a57be091caefe (patch) | |
tree | 50bf20e111295c742ceb72bb41016dcbfeb5d45c /updown | |
parent | 3881b4031c2ec30bb7f47e210580d7580e26c452 (diff) | |
download | utils-git-59b0967b9e52ecb6b51786f35d0a57be091caefe.tar.gz utils-git-59b0967b9e52ecb6b51786f35d0a57be091caefe.tar.bz2 |
Adds updown
Diffstat (limited to 'updown')
-rwxr-xr-x | updown | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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 |