From 7ec16ae9aebc98073394e11ac77fa5fae177dd3b Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Thu, 20 Nov 2014 23:05:12 +0000 Subject: [PATCH] git-commit-push-add --- etc/bashrc.function | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/etc/bashrc.function b/etc/bashrc.function index 50427ab8..8484109d 100644 --- a/etc/bashrc.function +++ b/etc/bashrc.function @@ -33,11 +33,15 @@ git-clone-nbdom() { } git-commit-push() { - git add . git commit -m "$@" -a git push || echo "Try: git push --set-upstream origin master" } +git-commit-push-add() { + git add . + git-commit-push "$@" +} + env-add-path() { # Add paths to a variables # Usage PATH=`sem-env-add-path "$PATH" "/blbabla"` -- 2.47.3