Make gcam work more like echo

This commit is contained in:
Alexander Rosenberg 2022-12-01 21:33:48 -08:00
parent 738278374e
commit 44e38eb6c9
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -102,7 +102,13 @@ gcm() {
git commit -m "${args}"
}
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 gu="git pull"
alias gf="git fetch"