Automate username/password entry when git pushing over http from windows machine

git, windows

Solution

Use _netrc file to store your username/password for remote machine, described here

Problem

I am pushing from my windows box to a repository cloned from an http (not ssh) address. Each push, I have to enter my u/p. I want to automate this process. I have tried the following: ``` $ git config credential.helper cache $ git config credential.helper 'cache timeout=360000' ``` But those settings had no effect and I still have to enter the u/p each time. Is there any way to automate it?

Original source

Related problems