From 128fa6e62e36fb6e4f7eec2b0a6b28bf6030a4b6 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 17 Apr 2014 19:27:38 -0300 Subject: Commit script should require an 'all' remote --- commit | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 } -- cgit v1.2.3