Created
October 3, 2012 09:55
-
-
Save KrofDrakula/3826137 to your computer and use it in GitHub Desktop.
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
| [color] | |
| ui = auto | |
| [color "branch"] | |
| current = yellow reverse | |
| local = yellow | |
| remote = green | |
| [color "diff"] | |
| meta = yellow bold | |
| frag = magenta bold | |
| old = red bold | |
| new = green bold | |
| [color "status"] | |
| added = yellow | |
| changed = green | |
| untracked = cyan | |
| [alias] | |
| st = status | |
| ci = commit | |
| br = branch | |
| co = checkout | |
| history = log --graph --pretty=format:'%C(yellow)%h%Creset %C(bold blue)%an%Creset %Cgreen(%cr)%Creset: %s' | |
| update = !git stash && git fetch && git rebase && git stash pop | |
| branch-name = !git for-each-ref --format='%(refname:short)' `git symbolic-ref HEAD` | |
| sshow = "!f() { git stash show `git rev-parse stash^{/$*}` -p; }; f" | |
| sapply = "!f() { git stash apply `git rev-parse stash^{/$*}`; }; f" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment