Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use git on Windows 7. I just updated my git to 1.8.0 from, and one of the first things I noticed was that git stash pop now had some new coloring in the output.
Both modified and untracked files are now red, like this:

I would like it to stay white like it used to, both because that is what I am used to, and because I consider the color red to be a sign that something went wrong, which it clearly did not in this case.

So, my question is can this be done, and if so how?

I suspect that there could be some config variable controling this but I can not find it. I don't want to turn all coloring off though, just this.

share|improve this question
up vote 3 down vote accepted

That output is actually from git status, which is run by git stash pop.

You can disable color for that command by running

git --global config color.status false

Or you can choose to use different colors for different types of files with:

git --global config color.status.untracked yellow
git --global config color.status.added green

Other color slots are available as well, check the docs for git config and look for color.status.

share|improve this answer
Thank you @qqx :) I now have these lines in ~/.gitconfig: [color "status"] \n untracked = cyan \n changed = green \n – Superole Nov 2 '12 at 12:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.