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

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?

  • Git-Svn dcommit causes branch splitting
  • Move code from Mercurial to Bitbucket
  • How to tell Git that two commits are actually the same in a disjoint history?
  • Setting up Android project to use git
  • Git Release with a Reverted Commit on master
  • Why doesn't Git use more modern SHA?
  • Netbeans git can't checkout local branch - Conflicts during checkout
  • User who made Pull Request doesn't appear in Contributor List after merge
  • How to get parent of specific commit in GIT?
  • including files in eclipse after git checkout
  • Can I maintain a (non-public) branch of a public github repo in a local TFS server?
  • Git and CakePHP 3
  • 2 Solutions collect form web for “Automate username/password entry when git pushing over http from windows machine”

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

    Newer versions of Git support a more streamlined credentials API. Depending on implementation of the credentials helper, this is typically more convenient and secure than using .netrc.

    A popular windows credentials helper is git-credential-winstore.exe. Simply download to the git/bin path and execute. Github supplies a similar helper.

    Additional detail here (but not specific to Windows):

    • Is there a way to skip password typing when using https:// on GitHub?
    Git Baby is a git and github fan, let's start git clone.