My .gitconfig
update: I’ve posted a revised and updated version of my .gitconfig on my new blog.
By default, git does not include aliases for commands. For instance,
‘git status’ works but ‘git st’ does not. This will hurt your noggin if you are
used to using cvs or svn.
Also, the internet is for posting config files on.
So here are the contents of my .gitconfig:
[user] name = James Bowes email = MY_EMAIL [alias] ci = commit -a co = checkout st = status -a praise = blame [apply] whitespace = strip [diff] color = auto rename = copy [pager] color = true [status] color = auto
Just drop that into ~/.gitconfig and you’re all set. Also, use your own name
and email address.
Thanks!
Nik
July 21, 2007 at 3:54 am