Skip to content

Instantly share code, notes, and snippets.

@nanha
Created August 16, 2011 06:28
Show Gist options
  • Save nanha/1148532 to your computer and use it in GitHub Desktop.
Save nanha/1148532 to your computer and use it in GitHub Desktop.
git config
[user]
name = nanha park
email = [email protected]
[color]
diff = auto
status = auto
branch = auto
ui = true
[alias]
co = checkout
b = branch
c = commit
graph = "log -n 5 --pretty=format:'%h : %s' --graph"
l = "log --oneline --decorate --graph"
br = branch
ci = commit
st = status
unstage = reset HEAD --
last = log -1 HEAD
[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
[core]
editor = vim
[format]
pretty = oneline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment