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

My friend helped me get colors in my OS X Terminal by having my copy some preferences into a file somewhere. Now when I try to run 'git commit' I get this message:

**fatal: bad config variable '' **

I've looked all over and can't find the file we changed. I don't have a ~/.bash_profile or a ~/.bashrc file. My ~/.profile is blank. Ideas? I've tried iTerm and get the same thing. I'm on OS X 10.6.2 if it matters.

share|improve this question

Ah, turns out it was ~/.gitconfig. Makes sense.

share|improve this answer

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.