File '_netrc' / '.netrc' is not accepted by Git

后端 未结 2 1775
萌比男神i
萌比男神i 2021-01-12 11:40

I have set the %HOME% environment variable on my Windows installation.

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

machi         


        
2条回答
  •  南笙
    南笙 (楼主)
    2021-01-12 12:04

    Assuming you did everything that was described in this answer and you set the right location for your %HOME% environment variable (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 repository.

    The URL to clone a Google Code repository 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 repository.

提交回复
热议问题