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
  • 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 tell if git has ever tracked file X
  • How to organize separate client and server repositories for both development and deployment?
  • How to deal with Git-svn when have to use both Git and Subversion
  • How to make “git branch” respect the “core.ignorecase” flag on Linux?
  • Git: Storing but not pulling LESS files
  • git-svn-id is missing from some commits
  • 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.