mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 22:22:40 +00:00
Added more git aliases
This commit is contained in:
@@ -17,7 +17,9 @@ alias g() { git "$@" }
|
|||||||
alias ga() { git add . }
|
alias ga() { git add . }
|
||||||
alias gcb() { git checkout -b "$@" }
|
alias gcb() { git checkout -b "$@" }
|
||||||
alias gco() { git checkout "$@" }
|
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 gma() { git add . && git commit -m "$1" }
|
||||||
|
alias gp() { git push }
|
||||||
alias gs() { git status }
|
alias gs() { git status }
|
||||||
|
|
||||||
# move back to old cwd
|
# move back to old cwd
|
||||||
|
|||||||
Reference in New Issue
Block a user