Re: Git does not work on my machine!!!
On Mon, 16 Oct 2023, jtrites@tritesengserv.com wrote:
Show 6 quoted lines
> 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