问题描述
我要提交我的修改版本库,但是这台笔记本电脑(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.9svn, 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的用户名和密码,提交更改?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!