Is it possible to use a .netrc file on Windows when I\'m using Git to clone a remote repository with HTTP and user - password?
This will let Git authenticate on HTTPS using .netrc
:
_netrc
and located in c:\Users\
.HOME=%USERPROFILE%
(set system-wide environment variables using the System option in the control panel. Depending on the version of Windows, you may need to select "Advanced Options".)._netrc
file cannot contain spaces (quoting the password will not work).