Created
May 18, 2012 13:18
-
-
Save o1y/2725208 to your computer and use it in GitHub Desktop.
useful 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] | |
| chp = cherry-pick | |
| co = checkout | |
| st = status | |
| ci = commit | |
| di = diff | |
| dc = diff --cached | |
| aa = add --all | |
| head = log -1 | |
| # Log display from screencast, with train tracks. | |
| l = log --graph --pretty=format':%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset' | |
| # Alternate log display from Scott Chacon | |
| lol = log --pretty=oneline --abbrev-commit --graph --decorate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment