Skip to content

Instantly share code, notes, and snippets.

@ryochin
Created February 5, 2013 06:03
Show Gist options
  • Save ryochin/4712585 to your computer and use it in GitHub Desktop.
Save ryochin/4712585 to your computer and use it in GitHub Desktop.
my gitconfig
#
[color]
branch = auto
diff = auto
# diff = false
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
whitespace = blue reverse
[color "status"]
added = green
changed = yellow
untracked = cyan
[color]
ui = true
[core]
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
editor = ee
pager = lv
[branch]
autosetupmerge = true
[alias]
st = status
ci = commit -a
br = branch
co = checkout
di = diff
dw = diff -w --word-diff=color
lg = log -p
bi = bisect
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
switch = !legit switch \"$@\"
branches = !legit branches
sprout = !legit sprout \"$@\"
unpublish = !legit unpublish \"$@\"
harvest = !legit harvest \"$@\"
sync = !legit sync \"$@\"
publish = !legit publish \"$@\"
graft = !legit graft \"$@\"
brlist = "!$SHELL -c '(for i in `git branch | colrm 1 2` ; do echo `git log --date=iso8601 -n 1 --pretty=\"format:[%ai] %h\" $i` $i ; done) | sort' __dummy__"
[push]
default = current
[user]
name = Ryo Okamoto
email = ryo********
[github]
user = ryochin
token = ********
[mergetool]
keepBackup = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment