What does your ~/.gitconfig contain?

Posted by Rajkumar S on Stack Overflow See other posts from Stack Overflow or by Rajkumar S
Published on 2008-11-06T06:17:49Z Indexed on 2010/03/18 0:01 UTC
Read the original article Hit count: 525

Filed under:

Hi,

I am looking to pimp up my ~/.gitconfig to make it really beautiful and take maximum advantage of capabilities git can offer. My current ~/.gitconfig is below, what more would you add? Have some nice ~/.gitconfig you want to share? Any recommendations for merge and diff tools in linux? Post away and let's build a nice ~/.gitconfig

[user]
        name = Rajkumar
        email = [email protected]

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

[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]
        pager = less -FRSX
        whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol

[alias]
        co = checkout

Thanks!

raj

© Stack Overflow or respective owner

Related posts about git