Linux下SVN賬戶密碼保存設置


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操作時就不用再輸入用戶名和密碼了。

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM