如何在TortoiseSVN中更改用户

本文翻译自:How to change users in TortoiseSVN

I was setting up another user to use our SVN repository. 我正在设置另一个用户来使用我们的SVN存储库。 He didn't have a username/password, so I logged in with my credentials. 他没有用户名/密码,所以我使用我的凭据登录。 We now have a username/password for him. 我们现在有一个用户名/密码。

How do I get TortoiseSVN to logout and forget the old password so I can enter the new username/password? 如何让TortoiseSVN注销并忘记旧密码,以便输入新的用户名/密码?


#1楼

参考:https://stackoom.com/question/4Q4F/如何在TortoiseSVN中更改用户


#2楼

  1. Open Windows Explorer. 打开Windows资源管理器
  2. Right-click anywhere in the window. 右键单击窗口中的任意位置。
  3. Click TortoiseSVN → Settings . 单击TortoiseSVN→设置
  4. Click Saved Data . 单击“ 保存的数据”
  5. Click Clear beside Authentication Data (see below). 单击Authentication Data旁边的Clear (见下文)。
  6. Check the authentication items to clear. 检查要清除的身份验证项。
  7. Click OK . 单击确定

All saved Authentication Data for all projects is deleted. 将删除所有项目的所有已保存的验证数据。

You will have to re-enter credentials to reconnect. 您必须重新输入凭据才能重新连接。

清除按钮


#3楼

There are several ways to do it, through settings or by deleting the cache. 有几种方法可以通过设置或删除缓存来实现。

Deleting the cache is the most versatile method. 删除缓存是最通用的方法。 First, locate it: 首先,找到它:

On XP, it was located here: 在XP上,它位于这里:

C:\Documents and Settings\%USER%\Application Data\Subversion\auth\svn.simple\

On Vista, it was located here: 在Vista上,它位于:

C:\Users\%USER%\AppData\Roaming\Subversion\auth\svn.simple\

Then look in those files with Notepad, and delete the one with your credentials. 然后使用记事本查看这些文件,并使用您的凭据删除该文件。


#4楼

在此输入图像描述

  1. Right click 右键点击
  2. TortoiseSVN TortoiseSVN的
  3. Settings 设置
  4. Saved Data 保存的数据
  5. Authentication data - Clear 验证数据 - 清除

#5楼

Replace the line in htpasswd file: 替换htpasswd文件中的行:

Go to: http://www.htaccesstools.com/htpasswd-generator-windows/ 请访问: http//www.htaccesstools.com/htpasswd-generator-windows/

(If the link is expired, search another generator from google.com.) (如果链接已过期,请从google.com搜索其他生成器。)

Enter your username and password. 输入您的用户名和密码。 The site will generate an encrypted line. 该站点将生成一个加密的行。 Copy that line and replace it with the previous line in the file "repo/htpasswd". 复制该行并将其替换为文件“repo / htpasswd”中的上一行。

You might also need to Clear the 'Authentication data' from TortoiseSVN → Settings → Saved Data. 您可能还需要清除 TortoiseSVN→设置→保存数据中的“身份验证数据”。


#6楼

If you want to remove only one saved password, eg for "user1": 如果您只想删除一个已保存的密码,例如“user1”:

  • Go to the saved password directory ( *c:\\Users\\USERNAME\\AppData\\Roaming\\Subversion\\auth\\svn.simple\\* ) 转到保存的密码目录( *c:\\Users\\USERNAME\\AppData\\Roaming\\Subversion\\auth\\svn.simple\\*
  • You will find several files in this folder (named with hash value) 您将在此文件夹中找到多个文件(以哈希值命名)
  • Find the file which contains the username "user1", which you want to change (open it with Notepad). 找到包含要更改的用户名“user1”的文件(使用记事本打开它)。
  • Remove the file. 删除该文件。
  • Next time you will connect to your SVN server, Tortoise will prompt you for new username and password. 下次连接到SVN服务器时,Tortoise会提示您输入新的用户名和密码。
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值