Created
June 22, 2018 12:42
-
-
Save aaronlelevier/4147ac784c543bfd8029f13db4669706 to your computer and use it in GitHub Desktop.
Git command 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 gitlog='git log --pretty=format:"%h%x09%an%x09%ad%x09%s"' | |
| alias gs='git status' | |
| alias gd='git diff' | |
| alias gds='git diff --staged' | |
| alias gl='git log' | |
| alias ga='git add' | |
| alias gb='git branch' | |
| alias gc='git commit' | |
| alias gco='git checkout' | |
| alias gpr='git pull --rebase' | |
| alias gp=' git push -u origin' | |
| alias gpf='git push -u origin --force-with-lease' | |
| alias gcp='git cherry-pick' | |
| alias gls='git ls-files -m' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment