mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 06:12:34 +00:00
Added more git aliases
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user