pdate git aliases
This commit is contained in:
parent
ea0d66cb11
commit
745f59931d
4
init.zsh
4
init.zsh
@ -103,12 +103,12 @@ alias gaa="git add -A"
|
|||||||
alias gco="git commit"
|
alias gco="git commit"
|
||||||
gcm() {
|
gcm() {
|
||||||
local args="${@}"
|
local args="${@}"
|
||||||
git commit -m "${args:1}" # remove the leading space
|
git commit -m "${args}"
|
||||||
}
|
}
|
||||||
alias gca="git commit -a"
|
alias gca="git commit -a"
|
||||||
gcam() {
|
gcam() {
|
||||||
local args="${@}"
|
local args="${@}"
|
||||||
git commit -am "${args}" # remove the leading space
|
git commit -am "${args}"
|
||||||
}
|
}
|
||||||
alias gp="git push"
|
alias gp="git push"
|
||||||
alias gu="git pull"
|
alias gu="git pull"
|
||||||
|
Loading…
Reference in New Issue
Block a user