I installed and re-installed Git on my Windows8 machine multiple times. It\'s a long story as to why I did that. Once I installed it at C:\\Git and now I
This is linked to the value of the environment variable HOME
.
HOME
to the right value, and will be able to look for/ or create %HOME%/.ssh
and other config files which reside in %HOME%
directory.With the old msysgit, that git-cmd.bat
contains:
@if not exist "%HOME%" @set HOME=%HOMEDRIVE%%HOMEPATH%
@if not exist "%HOME%" @set HOME=%USERPROFILE%
With the new git-for-windows, the git.exe
is build with:
--cd-to-home"; WorkingDir: %HOMEDRIVE%%HOMEPATH%
In both cases, HOME
is set to, by default, %HOMEDRIVE%%HOMEPATH%
.