git config -> "fatal: bad config file"
- From
David Reitter <david.reitter@gmail.com>
- Date
- Aug 14, 2009, 13:38 UTC
- Message-ID
- <A5CDBB91-E889-4849-953A-2C1DB4A04513@gmail.com>
I made a mistake editing my config file using "git config -e". This caused git commands to fail.
Trying to fix the problem, I did
git config -e fatal: bad config file line 7 in .git/config
I think the refusal to edit a broken config file is not a good idea. It's easy to fix for me of course by editing .git/config directly, but git-config should probably not read the config file at all.
Thanks for your consideration.