1. 10:00 26th Apr 2011

    Reblogged from j2labs

    Tags: gitcolors

    image: Download

    j2labs:

.gitconfig tweaks
I stumbled across this stackover flow page discussing cool ways to configure your git experience. I never knew about the output coloring options and it’s changed my life already - for five minutes so far.
I recommend reading the whole page, but I recommend putting the following code at the bottom of your .gitconfig immediately. The screenshot above shows you what you get for it.
[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

    j2labs:

    .gitconfig tweaks

    I stumbled across this stackover flow page discussing cool ways to configure your git experience. I never knew about the output coloring options and it’s changed my life already - for five minutes so far.

    I recommend reading the whole page, but I recommend putting the following code at the bottom of your .gitconfig immediately. The screenshot above shows you what you get for it.

    [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
    1. messel reblogged this from coderspiel
    2. haru012 reblogged this from j2labs
    3. tudorizer reblogged this from j2labs
    4. coderspiel reblogged this from j2labs and added:
      Another addition
    5. j2labs posted this