SaulBack SaulBack - 8 months ago 50
Git Question

Push to in windows using git

Related questions:
netrc not accepted by git and Git - How to use .netrc file on windows to save user and password

I am trying to push changes to a git repository. I am using Git Extensions. My HOME variable is set in both Windows and Git Bash.

C:\> echo %HOME%

$ echo $HOME

And I have added a file in %HOME% called _netrc


Obviously Username is replaced by my username and GOOGLEGENERATED is the google generated password. When attempting to push, I get this error message:

C:\Program Files\Git\bin\git.exe push -u --recurse-submodules=check
"origin" master:master Done fatal: remote error: Invalid
username/password. You may need to use your generated
password; see

The related questions suggest that everything is setup properly, but it is still not working. Any ideas?


Remove username@ from the url entry for origin in .git/config