关于我们

质量为本、客户为根、勇于拼搏、务实创新

< 返回新闻公共列表

Linux下SVN 命令每次都要输入密码

发布时间:2023-06-26 17:00:18

问题描述

SVN每次操作都需要输入密码,操作相当麻烦,影响效率

解决方法

修改vi ~/.subversion/config 文件,将password-stores的值修改为simple,即 password-stores = simple


[auth]

### Set password stores used by Subversion. They should be

### delimited by spaces or commas. The order of values determines

### the order in which password stores are used.

### Valid password stores:

###   gnome-keyring        (Unix-like systems)

###   kwallet              (Unix-like systems)

###   gpg-agent            (Unix-like systems)

###   keychain             (Mac OS X)

###   windows-cryptoapi    (Windows)

# password-stores = gpg-agent,gnome-keyring,kwallet

### To disable all password stores, use an empty list:

password-stores = simple

###

### Set KWallet wallet used by Subversion. If empty or unset,

### then the default network wallet will be used.

# kwallet-wallet =


保存后退出,再次使用SVN时就会提示保存密码,选择yes即可


这样就OK了,后面输入SVN命令不需要命令了



/template/Home/leiyu/PC/Static