Browse Source

Add git show alias

master
Riyyi 4 years ago
parent
commit
0848865237
  1. 1
      .config/zsh/.zshrc

1
.config/zsh/.zshrc

@ -139,6 +139,7 @@ alias g="git"
alias ga="git add"
alias gap="git add -p"
alias gs="git status"
alias gsh="git show --format=format:'%C(bold blue)commit %H%C(reset) %C(bold yellow)%d %C(reset)%nAuthor: %C(dim white)%an <%ae>%C(reset)%nDate: %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%n%n%w(64,4,4)%B'"
alias gc="git commit"
alias gp="git pull"
alias gps="git push"

Loading…
Cancel
Save