Wednesday, January 20, 2010

git color customize

Did you watch the movie Matrix? I think the answer is obviously yes. I am a very good fan of that movie. After watching this movie, my Linux theme, wallpaper , screensaver changed to that theme, specially the terminal. I use Konsole with Green and black schema. So it is a little bit fuzzy when I use “git diff” with default auto color system of git. So I customize the color by editing the “.gitconfig” file on my home directory.

[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = white
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = white bold
[color "status"]
added = yellow
changed = red
untracked = cyan
[user]
name = Towhidul Haque Roni
email = towhid@xyz.net

No comments:

Post a Comment

@decorators in Python

People have confusion about how to use python decorators in the proper way and how it works. The main reason for it is there are several way...