Created
January 10, 2018 18:10
-
-
Save aaronlelevier/3e1157dd62ec5aa495ad7ed68c919681 to your computer and use it in GitHub Desktop.
Git Shortcuts
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' |
aaronlelevier
commented
Jan 10, 2018
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment