[+] Add more git aliases

This commit is contained in:
Hykilpikonna
2021-08-24 15:10:56 -04:00
committed by GitHub
parent fedd119c39
commit ae97609c00
+11 -1
View File
@@ -36,7 +36,17 @@ lisp() {
commit() {
git commit -m "$1"
}
alias commit-all='git add .; commit'
commitall() {
git add .
commit $1
}
alias commita="commitall"
compush() {
commitall $1
git push
}
# 关于PS1 (指令提示格式)
# 这个版本向上番两次就会出问题