如何更改默认SVN的用户名和密码,提交更改? [英] How change default SVN username and password to commit changes?

查看:1521
本文介绍了如何更改默认SVN的用户名和密码,提交更改?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要提交我的修改版本库,但是这台笔记本电脑(SVN配置)我不是默认用户。

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

我如何设置我的登录名和密码默认在SVN的配置?

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

OS_X 10.9
SVN版本1.7.10(r1485443)

OS_X 10.9 svn, version 1.7.10 (r1485443)

推荐答案

要使用备用凭证对于单个操作,使用 - 用户名 - 密码切换为 SVN

To use alternate credentials for a single operation, use the --username and --password switches for svn.

要清除previously保存的凭据,删除〜/的.subversion / AUTH 。你会在需要他们的下一次提示输入凭据。

To clear previously-saved credentials, delete ~/.subversion/auth. You'll be prompted for credentials the next time they're needed.

这些设置,保存在用户的主目录,所以如果你使用的这台笔记本电脑的共享账号,要小心 - 如果你允许客户端保存凭据,有人可以冒充你。我提供的第一个选项是更好的办法在这种情况下去。至少直到你停止使用电脑,你不应该做的共享帐户。

These settings are saved in the user's home directory, so if you're using a shared account on "this laptop", be careful - if you allow the client to save your credentials, someone can impersonate you. The first option I provided is the better way to go in this case. At least until you stop using shared accounts on computers, which you shouldn't be doing.

要更改凭证,你需要做的:

To change credentials you need to do:


  • RM -rf〜/的.subversion / AUTH

  • SVN高达
    (它会问你新的用户名和放大器;密码)

这篇关于如何更改默认SVN的用户名和密码,提交更改?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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