[M] Separate git commands to bashrc-git.sh

This commit is contained in:
Hykilpikonna
2021-09-16 21:27:46 -04:00
committed by GitHub
parent d705c9fd5d
commit fbd8344b70
+16
View File
@@ -0,0 +1,16 @@
# Git commit wrapper
commit() {
msg="$@"
git commit -m "$msg"
}
commitall() {
git add .
commit "$@"
}
alias commita="commitall"
compush() {
commitall "$@"
git push
}