Skip to content

Instantly share code, notes, and snippets.

@ricardodani
Created July 11, 2019 15:08
Show Gist options
  • Save ricardodani/eac29e5565ccd929a500c015fb4d5e2b to your computer and use it in GitHub Desktop.
Save ricardodani/eac29e5565ccd929a500c015fb4d5e2b to your computer and use it in GitHub Desktop.
Aliases for git
# Git alias (tested on zsh)
alias gpull="git pull origin \`git branch --show-current\`"
alias gpush="git push origin \`git branch --show-current\`"
alias gcomm="git commit -v"
alias glogp="git log -p"
alias glogs="git log --stat"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment