diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-04-17 19:27:38 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-04-17 19:27:38 -0300 |
commit | 128fa6e62e36fb6e4f7eec2b0a6b28bf6030a4b6 (patch) | |
tree | fcfb1d1599d2c9671da9e07f56e3ccd5972899bb | |
parent | a21c70a4c0ea4b3ee29f4e45678fe83d9955e0ca (diff) | |
download | scripts-128fa6e62e36fb6e4f7eec2b0a6b28bf6030a4b6.tar.gz scripts-128fa6e62e36fb6e4f7eec2b0a6b28bf6030a4b6.tar.bz2 |
Commit script should require an 'all' remote
-rwxr-xr-x | commit | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -80,7 +80,9 @@ function git_push { elif git remote | grep -q 'all'; then git push all --all elif git remote | grep -q 'origin'; then - git push --all + echo "Please configure the 'all' repository first." + exit 1 + #git push --all fi } |