SVN change username

前端 未结 11 1447
半阙折子戏
半阙折子戏 2020-12-22 19:09

I found a lot of examples on how to change the username for specific revisions and so on.

But what I need is this: I did a checkout with the authentication credentia

11条回答
  •  轮回少年
    2020-12-22 19:54

    You can change the user with

    • Subversion 1.6 and earlier:

      svn switch --relocate protocol://currentUser@server/path protocol://newUser@server/path
      
    • Subversion 1.7 and later:

      svn relocate protocol://currentUser@server/path protocol://newUser@server/path
      

    To find out what protocol://currentUser@server/path is, run

    svn info
    

    in your working copy.

提交回复
热议问题