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

Location of git config on Windows

From
DCDaniel Corbe <corbe@corbe.net>
Date
Aug 17, 2014, 20:18 UTC
Message-ID
<ygfvbpqooog.fsf@corbe.net>

I installed git on my Windows machine while it was connected to my corporate network. It picked up on that fact and used a mapped drive to store its configuration file.

As a result, I cannot currently use git when disconnected from my network. It throws the following error message: fatal: unable to access 'Z:\/.config/git/config': Invalid argument

Obviously this value is stored in the registry somewhere because I made an attempt to uninstall and reinstall git with the same results.

Can someone give me some guidance here?

Best, Daniel

P.S. A screenshot for reference: http://i.imgur.com/i9lm0Da.png
Next: Jason Pyeron
Message 1 of 11 in “Location of git config on Windows”
  1. Daniel CorbeAug 17, 2014
  2. Jason PyeronAug 17, 2014
  3. Erik Faye-LundAug 17, 2014
  4. Karsten BleesAug 17, 2014
  5. Daniel CorbeAug 18, 2014
  6. Erik Faye-LundAug 18, 2014
  7. Daniel CorbeAug 18, 2014
  8. Erik Faye-LundAug 18, 2014
  9. Erik Faye-LundAug 18, 2014
  10. Daniel CorbeAug 18, 2014
  11. Erik Faye-LundAug 18, 2014

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.