Created
July 11, 2019 15:08
-
-
Save ricardodani/eac29e5565ccd929a500c015fb4d5e2b to your computer and use it in GitHub Desktop.
Aliases for git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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