git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: fatal: $HOME not set

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Dec 11, 2008, 11:09 UTC
Message-ID
<4940F4EC.8070300@viscovery.net>
In-Reply-To
<003a01c95b7c$65b93a40$312baec0$@com>
JD Guzman schrieb:
Show 7 quoted lines
> 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
Previous: JD Guzman
Message 2 of 2 in “fatal: $HOME not set”
  1. JD GuzmanDec 11, 2008
  2. Johannes SixtDec 11, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.