Ask Your Question

F18: Why are there no Gnome-Terminal Colors for GIT?

asked 2013-02-15 08:44:49 +0000

Chris gravatar image

updated 2013-02-15 08:46:28 +0000

I just started to learn GIT and i already wondered before why there are so less colors used in gnome-terminal in fedora.

For example in this tutorial, new changes to commit are highlighted with colors, in my terminal it s all one color.

Tutorial: http://www.youtube.com/watch?v=0Im_FrvLxXo#t=17m00s

I really love the colors e.g. in Ubunto Terminal or in this tutorial.

So what is the easiest way to get a great color scheme? Should i install another terminal (thats too much or?), start creating own colors, or looking for a "theme". Tried solarized, but this didnt affect GIT Colors.

Can anyone tell me a little bit about terminal colors and how you are customizing your terminal? I m still a beginner and would love to hear what advanced useres recommend to do.

Thanks in advance.

edit retag flag offensive close merge delete


This is not terminal specific issue. Colors can be turned on from git itself.

git config --global color.ui true

I also use this

PS1='\[\033[01;32m\]\u@\h:\[\033[01;34m\]\w\[\033[31m\]$(__git_ps1 "(%s)") \[\033[00m\]$\[\033[00m\] '

which adds some colors to my prompt and when I am in a git repo, it will tell me the branch name, also in color :)

mihkel ( 2013-02-15 11:45:14 +0000 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-02-15 09:00:26 +0000

Ismail Sensei gravatar image

updated 2013-02-15 09:02:28 +0000

You can install Fedora utility :

su -c "curl http://download.opensuse.org/repositories/home:/satya164:/fedorautils/Fedora_18/home:satya164:fedorautils.repo -o /etc/yum.repos.d/fedorautils.repo && yum install fedorautils"

After installation complete lunch Fedora utility enter your password root and choose "Essential tweaks and tasks" than you check "add color to terminal" and you done

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.


Asked: 2013-02-15 08:44:49 +0000

Seen: 2,075 times

Last updated: Feb 15 '13