Tuesday, April 26, 2011

my ~/.gitconfig file

[user]
name = Viktor Kelemen

[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = true
pager = true

[color "status"]
added = yellow
changed = green
untracked = cyan

[core]
pager = less -FRSX
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol

[alias]
co = checkout
st = status
ci = commit
co = checkout
w = whatchanged
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative


You can find more about .gitconfig customization on Hackernews or on Stackoverflow

No comments:

Post a Comment