Ask Your Question

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

asked 2013-02-15 02:44:49 -0500

Chris gravatar image

updated 2013-02-15 02:46:28 -0500

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.


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 gravatar imagemihkel ( 2013-02-15 05:45:14 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-02-15 03:00:26 -0500

Ismail Sensei gravatar image

updated 2013-02-15 03:02:28 -0500

You can install Fedora utility :

su -c "curl -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

Question Tools


Asked: 2013-02-15 02:44:49 -0500

Seen: 2,194 times

Last updated: Feb 15 '13