Skip to content

Instantly share code, notes, and snippets.

@pratapvardhan
Last active Aug 1, 2017
Embed
What would you like to do?
Git alias
alias gst='git status'
alias gl='git pull'
alias gp='git push'
alias gd='git diff | mate'
alias gau='git add --update'
alias gc='git commit -v'
alias gca='git commit -v -a'
alias gb='git branch'
alias gba='git branch -a'
alias gco='git checkout'
alias gcob='git checkout -b'
alias gcot='git checkout -t'
alias gcotb='git checkout --track -b'
alias glog='git log'
alias glogp='git log --pretty=format:"%h %s" --graph'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment