Created
September 27, 2013 18:14
-
-
Save endtwist/6732790 to your computer and use it in GitHub Desktop.
This file contains 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] | |
branch = auto | |
diff = auto | |
status = 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] | |
aa = add --all | |
ci = commit | |
cv = commit -v | |
cav = commit -a -v | |
ca = commit -a | |
cb = checkout -b | |
br = branch | |
prb = pull --rebase | |
unch = update-index --assume-unchanged | |
st = status | |
co = checkout | |
h = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
tr = !"git branch --track \"$1\" \"origin/$1\" && git checkout \"$1\"" | |
[push] | |
default = current |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment