pdate git aliases

This commit is contained in:
Alexander Rosenberg 2023-05-04 15:05:52 -07:00
parent ea0d66cb11
commit 745f59931d
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -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"