Files
zshrc/scripts/bashrc-git.sh
T
2021-09-16 21:27:46 -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
}