]> git.nbdom.net Git - nb.git/commitdiff
git_commit_push always push
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Sun, 15 Jan 2017 18:40:47 +0000 (18:40 +0000)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Sun, 15 Jan 2017 18:40:47 +0000 (18:40 +0000)
etc/profile.d/git.sh

index 22fcd79a85e66c682ddefc084a7953cea733704e..e35c0c23563e29fd47342053caf34fb5d21735d8 100644 (file)
@@ -70,7 +70,7 @@ gitcd() {
 } # < gitcd()
 
 git_commit_push() {
-  git commit -a -m "$*" && git push #|| echo "Try: git push --set-upstream origin master"
+  git commit -a -m "$*"; git push
 }
 
 git_commit_push_add() {