Possible Duplicate:
Changing .gitconfig location
I am a bit of a git newb so I am sure this must be simple, just eluding me.
On my work laptop my %homedrive%
and %homepath%
are set to a network home share. By default git is looking there for my .gitconfig
file. This is no good for when I take my laptop anywhere, gitbash takes forever to start and of course my username etc are unset.
What I would like to do is to specify my actual local home path as the location for it (c:\Users\Tim\
) but leave my %homedrive%\%homepath%
alone.
How do I do this?
OK. Seems that the fix (for my purposes) is to create a system environment variable HOME and set that to my C:\Users\Tim path.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With