How change default SVN username and password to commit changes?

前端 未结 4 1567
一生所求
一生所求 2020-12-23 13:46

I need to commit my changes to repository, but on this laptop (svn configurations) I\'m not default user.

How can I set my login and password as default in svn confi

4条回答
  •  爱一瞬间的悲伤
    2020-12-23 13:58

    since your local username on your laptop frequently does not match the server's username, you can set this in the ~/.subversion/servers file

    Add the server to the [groups] section with a name, then add a section with that name and provide a username.

    for example, for a login like me@svn.example.com this is what your config would look like:

    [groups]
    exampleserver = svn.example.com
    
    [exampleserver]
    username = me
    

提交回复
热议问题