netrc not accepted by git

I have set the %HOME% Variable in my windows.

In that folder I have put a file called _netrc. Inside that file I have that:

  • _netrc/.netrc alternative to cURL
  • Git authentication for perl CGI-Script via .netrc
  • jenkins git plugin http auth .netrc
  • Ssh key on github
  • Can _netrc handle passphrases with spaces?
  • How to configure GIT on Windows 7 to push project to Google Code
  • machine code.google.com login <logon> password <censored> 
    

    But both, MSYS and Tortoise keep asking for that password.

    I am using Win7, MSYSGit and TortoiseGIT. Does anyone know why this does not work?

    I have found an article on stackoverflow that said it must be named _netrc and not .netrc, but both do not work.

    Thanks 🙂

  • how to restore deleted file
  • How to get rid of new files and file modifications in Git
  • Why can't Git handle large files and large repos?
  • from command line ok but the hook (git)
  • How does git merge after cherry-pick work?
  • Can I rebase and squash commits at the same time?
  • One Solution collect form web for “netrc not accepted by git”

    Assuming you did everything that was described in this answer and you set the right location for your %HOME% (confirm this with an echo %HOME% and check that in that location there’s a _netrc file), there must something be wrong in the usage of your repo.

    The URL to clone a Google Code repo is https://user.googlecode.com/svn/trunk (see this Google link for that).

    So, you have to do a

    git svn clone https://user.googlecode.com/svn/trunk
    

    in order to import your Google repo.

    Git Baby is a git and github fan, let's start git clone.