Linked Questions

Popular Questions

Using .netrc with SourceForge and Git

Asked by At

I know, this seems like a beginner question, but it's not. I'm using .netrc file with all the Git repositories successfully, except for the ones on SourceForge.

I can't seem to find anything in SF Documentation either.

I'm basically adding these lines to my .netrc, but it still asks for my password:

 machine git.code.sf.net
 login xxxxx
 password xxxxx

 machine api.git.code.sf.net
 login xxxxx
 password xxxxx

I tried all other variations I can think of, but I can't make it work. Is there anyone out there that has done this? And how?

Related Questions