您的位置:首页 > 运维架构 > Linux

Linux下设置svn过滤文件类型

2015-01-26 18:00 218 查看
1)修改客户端。

1、修改客户端

 1)编辑文件家目录下自己账户下的.subversion/config文件

vim ~/.subversion/config


 2)找到包含[miscellany]的一行,取消注释。

### Section for configuring miscelleneous Subversion options.
[miscellany]
### Set global-ignores to a set of whitespace-delimited globs
### which Subversion will ignore in its 'status' output, and
### while importing or adding files and directories.
global-ignores = *.o *.lo *.la *.so #*# .*.rej *.rej .*~ *~ .#* .DS_Store


编辑包含 global-ignores 的那一行,取消注释,并添加需要过滤文件的通配符即可。

2、修改服务端

(还没写。。。)

作者:风波

mail : fengbohello@qq.com
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: