Skip to content

Instantly share code, notes, and snippets.

@Zhann
Created February 18, 2013 20:24
Show Gist options
  • Save Zhann/4980374 to your computer and use it in GitHub Desktop.
Save Zhann/4980374 to your computer and use it in GitHub Desktop.
[color]
branch = auto
diff = auto
status = auto
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
whitespace = red reverse
[color "status"]
added = yellow
changed = green
untracked = cyan
[alias]
st = status
co = commit
ch = checkout
unadd = reset HEAD
hist = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
[credential]
helper = osxkeychain
[push]
default = simple
[branch]
autosetuprebase = always
autosetupmerge = true
[mergetool]
keepBackup = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment