SVN改变用户名 [英] SVN change username

查看:145
本文介绍了SVN改变用户名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现了很多关于如何更改特定版本的用户名等例子。

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 credentials of a workmate and need to change it to my credentials for future commits.

我不能用我的凭据结帐由于已经已经做了许多变化...

I cannot just checkout with my credentials due to the many changes that have been done already...

任何人都熟悉这个?

推荐答案

您可以更改


  • 颠覆1.6和更早的:

  • Subversion 1.6 and earlier:

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


  • 颠覆1.7及更高版本:

  • Subversion 1.7 and later:

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


  • 要找出协议:// @的currentUser服务器/路径是,运行

    svn info
    

    在你的工作拷贝。

    这篇关于SVN改变用户名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆