Thursday, April 7, 2011

checkout svn+ssh with loginname

Hi
I want to checkout something out of an repository .. but wenn i type :

svn co svn+ssh://URL

i get asked for the password.I suppose he uses the username from my console which aren't the same.

So how can i checkout something with svn+ssh with a different loginname ?

From stackoverflow
  • Use --username:

    svn co --username fred svn+ssh://URL
    
  • SSH lets you select user in the connection URL:

    svn co svn+ssh://alabaster@URL
    

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.