无法使用外部`.svnignore`文件忽略Subversion中的文件 [英] Cannot ignore files in Subversion with an external `.svnignore` file
本文介绍了无法使用外部`.svnignore`文件忽略Subversion中的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要使用.svnignore
文件从Subversion中排除一些文件:
I need to exclude some files from Subversion, using a .svnignore
file:
> more .svnignore
*.obj
*.abc
*.aaa
> touch f1.cpp
> touch f2.abc
> svn add --force ./
A f1.cpp
A f2.abc
为什么f2.abc
被添加到存储库中,即使其扩展名不允许这样做?
Why is f2.abc
added to the repository, even if its extension should not allow that?
推荐答案
修改.svnignore
后,我必须重新运行:
After modifying .svnignore
, I had to re-run:
svn propset svn:ignore -F .svnignore .
这篇关于无法使用外部`.svnignore`文件忽略Subversion中的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文