简体   繁体   English

从命令行检出存储库时,如何显式设置svn密码

[英]How do I explicitly set an svn password when checking out a repository from the command line

I'm getting svn: Authorization failed error and I want to make sure that I typed the correct password the first time, so I want to reset the password. 我收到svn:授权失败错误,我想确保我第一次输入正确的密码,所以我想重设密码。

When I try to check out the repository there's no longer a prompt for a password after the password was typed the first time. 当我尝试签出存储库时,首次键入密码后不再提示输入密码。

Use the command line help :) 使用命令行帮助:)

svn help co

There you can see: 在那里您可以看到:

Global options:
  --username ARG           : specify a username ARG
  --password ARG           : specify a password ARG

If you want that svn client forgets your password you must delete the appropiate file in ~/.subversion/auth/svn.simple/ 如果您希望svn客户端忘记密码,则必须删除~/.subversion/auth/svn.simple/的适当文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM