When committing I get an error that: "User name and email must be set before commit. Do you want to set there now?". Saying yes brings up the setting dialog.In the Settings->Git dialog If I press "Edit global .gitconfig", I get an error dialog: "c:\$user\.gitconfig not found".This is unexpected, because the file is there: c:\nyUserName\.gitconfig, and appears to hold the required user information.Also using git bash command:git config --listI get a list with the correct user.name and user.email etc.
So somehow tortoiseGit is "out of sync" with git.Any ideas what can be wrong, and how to cure?
So is $USER really set properly - could explain it. Where can I check value of $USER?
Many thanks for your help, BR. Henning
Did the user.name and user.email list twice? or once?
For setting User Name/Email, it's better:1. click "Global" radio button in "Config source" group box2. If "inherit" of Name/Email are checked, uncheck them.3. set the Name and Email4. Apply the change