From: Silvio Rhatto Date: Thu, 17 Apr 2014 22:27:38 +0000 (-0300) Subject: Commit script should require an 'all' remote X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=128fa6e62e36fb6e4f7eec2b0a6b28bf6030a4b6;p=scripts.git Commit script should require an 'all' remote --- diff --git a/commit b/commit index 94eba0f..3a8e5d8 100755 --- a/commit +++ b/commit @@ -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 }