Git does not work on my machine!!!
I would appreciate some help resolving this issue!!!
JohnTrites@MSI MINGW64 /c/Users/JohnTrites
$ git config --global user.name "JohnTrites" error: could not lock config file C:/Users/John Trites/AppData/Roaming/SPB_16.6/.gitconfig: No such file or directory
Quoted 6 lines · On Mon, 16 Oct 2023, [email protected] wrote:
I would appreciate some help resolving this issue!!!
JohnTrites@MSI MINGW64 /c/Users/JohnTrites
$ git config --global user.name "JohnTrites" error: could not lock config file C:/Users/John Trites/AppData/Roaming/SPB_16.6/.gitconfig: No such file or directory
Hi John,
it looks like some of your environment variables are misconfigured.
This could be $HOME or $HOMEDRIVE and $HOMEPATH or $USERPROFILE, that points to a seemingly non-existent Directory:
"C:/Users/John Trites/AppData/Roaming/SPB_16.6/"
hope that helps.
Best regards
Matthias