aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-04-17 19:27:38 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-04-17 19:27:38 -0300
commit128fa6e62e36fb6e4f7eec2b0a6b28bf6030a4b6 (patch)
treefcfb1d1599d2c9671da9e07f56e3ccd5972899bb
parenta21c70a4c0ea4b3ee29f4e45678fe83d9955e0ca (diff)
downloadscripts-128fa6e62e36fb6e4f7eec2b0a6b28bf6030a4b6.tar.gz
scripts-128fa6e62e36fb6e4f7eec2b0a6b28bf6030a4b6.tar.bz2
Commit script should require an 'all' remote
-rwxr-xr-xcommit4
1 files changed, 3 insertions, 1 deletions
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
}