<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>Bored with just black and white in your `git status`? Add some colour!

Open up your global Git configuration file (it should be found in `~/.gitconfig`) and enter this into it:

&lt;pre class="terminal"&gt;[color]  
  ui = auto  
[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&lt;/pre&gt;

Now when you do a `git status` you should see some pretty colours. 

Of course you can change the colours if you want to. The accepted values are two of `normal`, `black`, `red`, `green`, `yellow`, `blue`, `magenta`, `cyan` and `white` and optionally one of `bold`, `dim`, `ul`, `blink` and `reverse`. If two colours are given the first is the foreground and the second is the background.</body>
  <created-at type="datetime">2009-06-12T22:02:37+10:00</created-at>
  <id type="integer">65</id>
  <project-id type="integer" nil="true"></project-id>
  <published type="boolean">true</published>
  <published-at type="datetime">2009-06-12T22:13:00+10:00</published-at>
  <title>How to: Colours in Git</title>
  <updated-at type="datetime">2009-06-12T22:19:42+10:00</updated-at>
  <url>how-to-colours-in-git</url>
</post>
