Reputation: 1213
If I try and do any command under Team -> Git I get the following error
Java.io.IOException: User config file /home/user/.gitconfig invalid org.eclipse.jgit.errors.ConfigInvalidException: Cannot read file /home/user/.gitconfig
the file is there, has my github username and email that's it and I made the permissions 777
I'm using netbeans 8.0 and the excellent ubuntu 14.0.1 desktop Anyone know how to solve it please.
.gitconfig contents is
name=Gav
[email protected]
[user]
email = [email protected]
name = Gav
Upvotes: 0
Views: 1673
Reputation: 1323793
It depends on the exact content of the .gitconfig:
In the OP's case, the first two lines are incorrect.
It should be only:
[user]
email = [email protected]
name = Gav
Upvotes: 1