9th
2009
Jul
2009
Git Config
Here’s the .gitconfig file I’ve been using. The aliases let you type “git ci” and execute “git commit -v” for example. And color is essential. Going back to svn is like going back to black & white TV.
[user]
email = you@blah.com
name = Your Name
[color]
ui = auto
diff = auto
status = auto
interactive = auto
[alias]
st = status
au = add -u
pt = add --patch
ci = commit -v
cia = commit -av
br = branch
co = checkout
df = diff
dfc = diff --cached
dfw = diff --color-words
lg = log -p
spull = !git-svn fetch && git-svn rebase --local
spush = !git-svn dcommit