Created
August 28, 2013 01:05
-
-
Save rickmzp/6360986 to your computer and use it in GitHub Desktop.
Git aliases
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 g='git' | |
| alias ga='git add' | |
| alias gaa='git add --all' | |
| alias gb='git branch' | |
| alias gc='git commit' | |
| alias gca='git commit -a' | |
| alias gco='git checkout' | |
| alias gd='git diff' | |
| alias gdc='git diff --cached' | |
| alias gf='git fetch' | |
| alias gl='git log' | |
| alias gp='git pull' | |
| alias gpr='git pull --rebase' | |
| alias gpu='git push' | |
| alias gra='git rebase --abort' | |
| alias grc='git rebase --continue' | |
| alias gre='git reset' | |
| alias greh='git reset --hard' | |
| alias gres='git reset --soft' | |
| alias grs='git rebase --skip' | |
| alias gs='git status' | |
| alias gst='git stash' | |
| alias gstl='git stash list' | |
| alias gstp='git stash pop' | |
| alias gsts='git stash show' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment