Linux下用SVN进行更新等操作时,总是提示输入用户名和密码,很不方便。因此搜了下解决办法,总结如下:

打开SVN配置文件:

vim /home/<user>/.subversion/config

找到如下代码:

### Set store-passwords to 'no' to avoid storing passwords in the
### auth/ area of your config directory.  It defaults to 'yes',
### but Subversion will never save your password to disk in
### plaintext unless you tell it to (see the 'servers' file).
### Note that this option only prevents saving of *new* passwords;
### it doesn't invalidate existing passwords.  (To do that, remove
### the cache files by hand as described in the Subversion book.)
# store-passwords = no

store-passwords = no这行更改为:

store-passwords = yes

这样在下次进行SVN操作时就不用再输入用户名和密码了。

 

相关文章:

  • 2022-02-16
  • 2021-11-15
  • 2021-11-16
  • 2021-05-04
  • 2021-12-26
  • 2022-01-01
  • 2021-12-14
  • 2021-06-11
猜你喜欢
  • 2022-12-23
  • 2021-06-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-02
  • 2022-02-07
相关资源
相似解决方案