]> git.nbdom.net Git - nb.git/commitdiff
git-commit-push
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Wed, 19 Nov 2014 21:35:09 +0000 (22:35 +0100)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Wed, 19 Nov 2014 21:35:09 +0000 (22:35 +0100)
etc/bashrc.function

index b3f9395aed2e6639634b38c94b0bf94930c35afd..2f84a3d9e4fce7a5bc3a21362af7aff62f59d011 100644 (file)
@@ -31,7 +31,7 @@ git-clone-nbdom() {
 git-commit-push() {
   git add .
   git commit -m "$@" -a
-  git push
+  git push || echo "Try: git push --set-upstream origin master"
 }
 
 env-add-path() {