What’s In Your .gitconfig?

March 18, 2010 at 10:43 pm | GIT | 1 comment

git-logo_medI have been using git for over 2 years now. My current .gitconfig is below. What’s in your .gitconfig?

[user]
    name = vinod (mercury)
    email = myname@mydomain.com
    editor = vim
[diff]
    tool = vimdiff
[color]
    branch = auto
    diff = auto
    status = 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
[alias]
    st = status
    ci = commit
    br = branch
    df = diff
    lg = log -p
    co = checkout
    tree = log --graph --pretty=oneline --decorate
    pom = push origin master
    amend = commit --amend -C HEAD
[core]
    pager = less -FRSX
    whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
[apply]
  whitespace = fix

Happy Giting :-)

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Reddit
  • StumbleUpon
  • Technorati
  • Yahoo! Bookmarks
  • Twitter
  • Blogosphere News
  • FriendFeed
  • FSDaily
  • Yahoo! Buzz

No related posts.

Tags:

One Response to “What’s In Your .gitconfig?”

  1. Jonathan Wright says:

    tree = log –graph –pretty=oneline –decorate

    can be simplified to:

    tree = log –graph –oneline –decorate

Leave a Reply

Sponsors