When I receive this error, the fix is to:
rm -rf .gitThen, I can git init again, with a clean initialization, and it works...
Another solution that I found for this is:
- open
.git/configfile - clear all the NULL values in the file
- save and close the file
git add .
| #dsmith73 |
|---|
What does line 9 in your
git/configsay?I'm guessing you can find it in:
path/to/project/.git/configIf the fix above didn't work for you, then I'd need to see the file to start to understand how to resolve the issue.