# Git does not work on my machine!!!

2 messages from 2023-10-16 to 2023-10-18. Participants: jtrites@tritesengserv.com, Matthias Aßhauer.
Thread: https://gitlist.dev/t/60378

## jtrites@tritesengserv.com, 2023-10-16 20:20

Subject: Git does not work on my machine!!!
Message-ID: <002301da006e$2e2d3c50$8a87b4f0$@tritesengserv.com>
URL: https://gitlist.dev/e/002301da006e%242e2d3c50%248a87b4f0%24%40tritesengserv.com

```
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



```

## Matthias Aßhauer, 2023-10-18 09:44

Subject: Re: Git does not work on my machine!!!
Message-ID: <DB9P250MB0692C372C7DED9C4901995E1A5D5A@DB9P250MB0692.EURP250.PROD.OUTLOOK.COM>
URL: https://gitlist.dev/e/DB9P250MB0692C372C7DED9C4901995E1A5D5A%40DB9P250MB0692.EURP250.PROD.OUTLOOK.COM
In-Reply-To: <002301da006e$2e2d3c50$8a87b4f0$@tritesengserv.com>

```


On Mon, 16 Oct 2023, jtrites@tritesengserv.com 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

```
