Make gcam work more like echo
This commit is contained in:
parent
738278374e
commit
44e38eb6c9
8
init.zsh
8
init.zsh
@ -102,7 +102,13 @@ gcm() {
|
|||||||
git commit -m "${args}"
|
git commit -m "${args}"
|
||||||
}
|
}
|
||||||
alias gca="git commit -a"
|
alias gca="git commit -a"
|
||||||
alias gcam="git commit -am"
|
gcam() {
|
||||||
|
local args
|
||||||
|
for arg; do
|
||||||
|
args="${args} ${arg}"
|
||||||
|
done
|
||||||
|
git commit -am "${args}"
|
||||||
|
}
|
||||||
alias gp="git push"
|
alias gp="git push"
|
||||||
alias gu="git pull"
|
alias gu="git pull"
|
||||||
alias gf="git fetch"
|
alias gf="git fetch"
|
||||||
|
Loading…
Reference in New Issue
Block a user