[+] Add more git aliases
This commit is contained in:
+11
-1
@@ -36,7 +36,17 @@ lisp() {
|
|||||||
commit() {
|
commit() {
|
||||||
git commit -m "$1"
|
git commit -m "$1"
|
||||||
}
|
}
|
||||||
alias commit-all='git add .; commit'
|
|
||||||
|
commitall() {
|
||||||
|
git add .
|
||||||
|
commit $1
|
||||||
|
}
|
||||||
|
alias commita="commitall"
|
||||||
|
|
||||||
|
compush() {
|
||||||
|
commitall $1
|
||||||
|
git push
|
||||||
|
}
|
||||||
|
|
||||||
# 关于PS1 (指令提示格式)
|
# 关于PS1 (指令提示格式)
|
||||||
# 这个版本向上番两次就会出问题
|
# 这个版本向上番两次就会出问题
|
||||||
|
|||||||
Reference in New Issue
Block a user