SVN 仍然要求提交忽略的文件
SVN still asking to commit ignored files
我运行svn propedit svn:ignore directory_x .
当我 运行 svn pg -R svn:ignore .
我看到忽略列表中的 directory_x
但是,在我执行 svn status
之后,我仍然可以看到该目录,并且它总是要求我提交相同的目录。
我尝试 运行 svn 清理但没有任何改变
你不能。 svn:ignore
仅影响不在存储库中的文件。见 Subversion book:
Once an object is under Subversion's control, the ignore pattern mechanisms no longer apply to it. In other words, don't expect Subversion to avoid committing changes you've made to a versioned file simply because that file's name matches an ignore pattern—Subversion always notices all of its versioned objects.
和
svn:ignore
If present on a directory, the value is a list of unversioned file patterns to be ignored by svn status and other subcommands. See the section called "Ignoring Unversioned Items".
我运行svn propedit svn:ignore directory_x .
当我 运行 svn pg -R svn:ignore .
我看到忽略列表中的 directory_x
但是,在我执行 svn status
之后,我仍然可以看到该目录,并且它总是要求我提交相同的目录。
我尝试 运行 svn 清理但没有任何改变
你不能。 svn:ignore
仅影响不在存储库中的文件。见 Subversion book:
Once an object is under Subversion's control, the ignore pattern mechanisms no longer apply to it. In other words, don't expect Subversion to avoid committing changes you've made to a versioned file simply because that file's name matches an ignore pattern—Subversion always notices all of its versioned objects.
和
svn:ignore
If present on a directory, the value is a list of unversioned file patterns to be ignored by svn status and other subcommands. See the section called "Ignoring Unversioned Items".