Strange error in Git-TF

435 Views Asked by At

I'm trying to pull changes from Git into TFS. Getting this error:

git-tf: User config file C:\Users\Administrator.gitconfig invalid   
org.eclipse.jgit.errors.ConfigInvalidException: Cannot read file
C:\Users\Administrator.gitconfig

Ideas?

1

There are 1 best solutions below

1
On BEST ANSWER

Similar to this discussion, it could be related to an encoding issue:

Problem was in config file encoding.
Proper one is ANSI & EOL = Unix