Browse Source

Add alias push to all remotes

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

1
.config/zsh/.zshrc

@ -126,6 +126,7 @@ alias gs="git status"
alias gc="git commit" alias gc="git commit"
alias gp="git pull" alias gp="git pull"
alias gps="git push" alias gps="git push"
alias gpsa="git remote | xargs -I remotes git push remotes master"
alias gd="git diff" alias gd="git diff"
alias gdc="git diff --cached" alias gdc="git diff --cached"
alias gl="git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d %C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all" alias gl="git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d %C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all"

Loading…
Cancel
Save