svn
上传代码
svn import ~/Documents/hangge_1268 svn://localhost/hangge/hangge_1268 --username=hangge --password=123 -m "这个是注释"
仓库检出
svn checkout svn://localhost/hangge --username=hangge --password=123 ~/Documents/hangge
创建仓库
svnadmin create /var/svn/svnrepos/具体项目名
启动svn
svnserve -d -r 目录 --listen-port 端口号(3690)
提交代码
svn commit -m "这个是修改操作"
更新代码
svn update
passwd
# passwd
[users]
user1 = 123456
svnserve.conf
anon-access = read
auth-access = write
password-db = passwd
authz
[groups]
dev = joseph
[/]
* = r
@dev = rw
[/docs]
* = r
@dev = rw