# fatal: $HOME not set

2 messages from 2008-12-11 to 2008-12-11. Participants: JD Guzman, Johannes Sixt.
Thread: https://gitlist.dev/t/16681

## JD Guzman, 2008-12-11 10:14

Subject: fatal: $HOME not set
Message-ID: <003a01c95b7c$65b93a40$312baec0$@com>
URL: https://gitlist.dev/e/003a01c95b7c%2465b93a40%24312baec0%24%40com

```
This is probably a really stupid question but I'm trying to run git outside
of the shell provided by msysgit.
Everything works however when I try to set config options I get the error in
the subject line.  I would suspect this is because the windows command
prompt isn't providing any information about the user's home directory.  My
question is would this be something that I can set manually or does git rely
on the OS to provide this information?

Regards,

JD Guzman

```

## Johannes Sixt, 2008-12-11 11:09

Subject: Re: fatal: $HOME not set
Message-ID: <4940F4EC.8070300@viscovery.net>
URL: https://gitlist.dev/e/4940F4EC.8070300%40viscovery.net
In-Reply-To: <003a01c95b7c$65b93a40$312baec0$@com>

```
JD Guzman schrieb:
> This is probably a really stupid question but I'm trying to run git outside
> of the shell provided by msysgit.
> Everything works however when I try to set config options I get the error in
> the subject line.  I would suspect this is because the windows command
> prompt isn't providing any information about the user's home directory.  My
> question is would this be something that I can set manually or does git rely
> on the OS to provide this information?

You can set it yourself to where you want git to store the .gitconfig
file. Do this in Settings->System->Advanced->Environment Variables,
section User variables. You can set it to %HOMEDRIVE%%HOMEPATH%  in order
point it somewhere below C:\Documents and Settings.

-- Hannes

```
