]> gitweb.fluxo.info Git - utils-git.git/commitdiff
Do not complain if remote 'all' is not present
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 10 Sep 2016 21:02:40 +0000 (18:02 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 10 Sep 2016 21:02:40 +0000 (18:02 -0300)
commit

diff --git a/commit b/commit
index e5bed594b726da91046bf8ba58982ac6827ce2ee..c5d3f4aa7ca96742ba434bdcd016789f978b3de5 100755 (executable)
--- a/commit
+++ b/commit
@@ -79,10 +79,10 @@ function git_push {
     return
   elif git remote | grep -q 'all'; then
     git push all --all
-  elif git remote | grep -q 'origin'; then
-    echo "Please configure the 'all' remote first."
-    exit 1
-    #git push --all
+  #elif git remote | grep -q 'origin'; then
+  #  echo "Please configure the 'all' remote first."
+  #  exit 1
+  #  #git push --all
   fi
 }