Added more git aliases

This commit is contained in:
2021-12-15 11:11:23 -05:00
parent d93226021d
commit 98fe795dd0

View File

@@ -17,7 +17,9 @@ alias g() { git "$@" }
alias ga() { git add . }
alias gcb() { git checkout -b "$@" }
alias gco() { git checkout "$@" }
alias gl() { git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit }
alias gma() { git add . && git commit -m "$1" }
alias gp() { git push }
alias gs() { git status }
# move back to old cwd