svn - Tortoise SVN 客户端无法忽略目标文件夹

标签 svn tortoisesvn

每次我在 Window 7 上使用 Tortoise SVN 客户端提交代码更改时,我都想忽略目标文件夹。因此,我右键单击目标文件夹并选择TortoiseSVN -> 取消版本并添加到忽略列表。但是,下次我从目标的父文件夹提交时,我仍然会在要提交的列表中看到它。我是否错过了一些事情来完成它?

最佳答案

参见TortoiseSVN Manual ,尤其是这部分:"Ignore files which are already versioned"

当您运行“取消版本并添加到忽略列表”命令时,它将计划在下次提交时删除文件或文件夹并将其添加到忽略列表。您需要将此更改提交到存储库。

If the files are already in the repository, they have to be deleted from the repository and added to the ignore list. Fortunately TortoiseSVN has a convenient shortcut for doing this. TortoiseSVN → Unversion and add to ignore list will first mark the file/folder for deletion from the repository, keeping the local copy. It also adds this item to the ignore list so that it will not be added back into Subversion again by mistake. Once this is done you just need to commit the parent folder.

关于svn - Tortoise SVN 客户端无法忽略目标文件夹,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17812430/

相关文章:

php - Wordpress 多开发人员设置

svn - 需要有关发布管理策略的建议或指示

macos - 自动同步 Git 到 SVN

svn - 从多个文件恢复 SVN 备份

tortoisesvn - 乌龟svn删除本地文件

svn - 如何创建一个分支为 "subproject"的 git clone?

svn - 从我的在线存储库 checkout 时出现 SVN 错误 (200 OK)

visual-studio - 意外的SVN checkin

svn - VisualSVN 服务器上的 Tortoise 客户端

svn - tortoisesvn 将所有新添加的文件标记为 "non-versioned"