Last active
December 19, 2018 11:18
-
-
Save mdouchement/ef31028a91c09faddbef9e35def02f28 to your computer and use it in GitHub Desktop.
Git aliases from ZSH (without zsh)
This file contains hidden or 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
alias gco='git checkout' | |
alias gb='git branch' | |
alias gd='git diff' | |
alias glgg='git log --graph --max-count=10' | |
alias glgga='git log --graph --decorate --all' | |
alias gst='git status' | |
alias gss='git status --short' | |
alias ga='git add' | |
alias gc='git commit' | |
alias ggpull='git pull origin $(git rev-parse --abbrev-ref HEAD)' | |
alias ggpush='git push origin $(git rev-parse --abbrev-ref HEAD)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment