RE: Location of git config on Windows
Show 14 quoted lines
> -----Original Message-----
> From: Daniel Corbe
> Sent: Sunday, August 17, 2014 16:18
>
>
> 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
As a workaround, use subst command to map the Z: to another path on your system.
Depending on your OS and your git usage patterns you may have to perform the operation twice at both non-privilged and priviliged prompts.
Ex:
subst z: c:\Users\corbed\cached-z-drive
Show 7 quoted lines
>
> 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?
>
-Jason
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- -
- Jason Pyeron PD Inc. http://www.pdinc.us -
- Principal Consultant 10 West 24th Street #100 -
- +1 (443) 269-1555 x333 Baltimore, Maryland 21218 -
- -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.