[英]SVN propedit ignore doesn't ignore all folder in it
I have a folder that I don't want to ignore. 我有一个不想忽略的文件夹。
When I use svn status
I get the following answer : 当我使用svn status
我得到以下答案:
? Node.js Back and BBD scripts/node_modules
However when I use the command svn propedit svn:ignore .
但是,当我使用命令svn propedit svn:ignore .
and add : 并添加:
Node.js Back and BBD scripts/node_modules
The svn status gives me the same message. svn的状态给了我同样的信息。
The problem was that I include a project in my main project. 问题是我在主项目中包含一个项目。 And each project have their own svn ignore rules. 每个项目都有自己的svn忽略规则。
So to ignore Node.js Back and BBD scripts/node_modules
I only have to go to Node.js Back and BBD scripts
and add node_modules
with the command svn propedit svn:ignore .
因此,要忽略Node.js Back and BBD scripts/node_modules
我只需要转到Node.js Back and BBD scripts
并使用svn propedit svn:ignore .
命令添加node_modules
svn propedit svn:ignore .
To resume : The svn status
on my main project raise the warning : This file is not under version control
for my inner project. 恢复:我主项目上的svn status
发出警告: This file is not under version control
我内部项目的This file is not under version control
。 But to solve it I have to go to this inner project to add the ignore rule. 但是要解决此问题,我必须转到此内部项目以添加忽略规则。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.