From: Nicolas Boisselier Date: Thu, 30 Jul 2015 22:20:10 +0000 (+0100) Subject: bash functions X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=b3c80208bd60ebabed98725cfc2ebe2460fe0d29;p=nb.git bash functions --- diff --git a/etc/profile.d/git.sh b/etc/profile.d/git.sh index c25f7081..8deece4c 100644 --- a/etc/profile.d/git.sh +++ b/etc/profile.d/git.sh @@ -6,7 +6,7 @@ alias git_ls_tree="git ls-tree --full-tree -r HEAD" alias git_ls_files="git ls-files" git_commit_push() { - git commit -a -m "$@" + git commit -a -m "$*" git push #|| echo "Try: git push --set-upstream origin master" }