I’ve been using Git for a while now and am enjoying it over SVN. Especially the fact that it’s distributed.

Well recently I was having an issue with the color output:

<config ~/.gitconfig>
[color]
ui = auto
</config>

After enabling colors I was getting the following:

#       ESC[31mmodified:   cms/config.phpESC[m

And then I found an entry on the GitFaq which fixed the issue :)

<config ~/.gitconfig>
[core]
pager = less -FXRS
</config>

Hope this helps someone else having the same issue.