Files
zshrc/scripts/includes/git.sh
T
2021-09-16 21:59:50 -04:00

17 lines
192 B
Bash

# Git commit wrapper
commit() {
msg="$@"
git commit -m "$msg"
}
commitall() {
git add .
commit "$@"
}
alias commita="commitall"
compush() {
commitall "$@"
git push
}