windows - 无法使用外部 `.svnignore` 文件忽略 Subversion 中的文件

标签 windows svn ignore svnignore

我需要使用 .svnignore 文件从 Subversion 中排除一些文件:

> more .svnignore

*.obj
*.abc
*.aaa

> touch f1.cpp
> touch f2.abc
> svn add --force ./
A    f1.cpp
A    f2.abc

为什么将 f2.abc 添加到存储库中,即使它的扩展名不允许这样做?

最佳答案

修改.svnignore后,我不得不重新运行:

svn propset svn:ignore -F .svnignore .

关于windows - 无法使用外部 `.svnignore` 文件忽略 Subversion 中的文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58380215/

相关文章:

asp.net-mvc - 进程标识设置为用户的 IIS 7.5 有错误的 USERPROFILE

svn - 如何在android studio中使用SVN合并分支与主干

svn:ignore 排除文件被忽略

c++ - Windows - 从 C++ 服务访问剪贴板

windows - WDDM驱动程序是否需要用户模式显示驱动程序?

windows - 仅将 cmd 界面中的某些部分写入 .txt 文件的 powershell 脚本

svn - 是否有用于在 Hudson 中列出 subversion 标签的插件?

svn - 颠覆: How to add a directory which is currently ignored and exists in most working copies?

git - 为什么 git 会找到我的主目录中不存在的目录?