diff --git a/scripts/bashrc-git.sh b/scripts/bashrc-git.sh new file mode 100644 index 0000000..f756c6f --- /dev/null +++ b/scripts/bashrc-git.sh @@ -0,0 +1,16 @@ +# Git commit wrapper +commit() { + msg="$@" + git commit -m "$msg" +} + +commitall() { + git add . + commit "$@" +} +alias commita="commitall" + +compush() { + commitall "$@" + git push +}