http://blog.youkuaiyun.com/ithomer/article/details/6187464
以下是建SVN的一些发现,做个记录。
SVN默认上传文件是会过滤掉一些默认设置的文件,比如so、a、dll、lib等,我们可以通过参数设置来改变限制的上传的文件格式。
l Windows上SVN改变限制方法:
有的TortoiseSVN的版本,在setting中我们看不到Global ignore pattern设置。
但是我们可以点击Edit 对它进行重新设置。
修改如红色部分。
### 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 = #*# .*.rej *.rej .*~ *~ .#* .DS_Store
l Linux 下的svn客户端我们可以使用—no-ignore选项来或略所有的文件格式限制
c. --no-ignore 选项。这个选项的功能就是执行相应动作的时候,不忽略任何文件。那么执行以下两条命令: svn import [source] [repository] --no-ignore 或 svn add [source] --no-ignore 会自动将 source 目录下所有的内容全部 import 或者 add 。