SVN从待提交列表中删除文件
我已经为我的项目在 bin / object 文件夹上设置了忽略规则。然后我尝试使用 svn add * 添加所有其他文件。似乎忽略仅适用于 svn status 命令,因此我所有的 bin 和对象文件夹内容都显示出来。现在我还没有在列表上进行提交,但是当我执行 svn status 时,当我发送该命令时,我会看到所有那些讨厌的文件都已准备就绪。有没有办法将它们从该列表中删除或完全清除该列表?另外,那个列表叫什么?提前致谢!
I had set up ignore rules on my bin / object folders for my project. I then tried to do an add on all the other files with svn add * . It seemed as if the ignore only applies to the svn status command so all my bin and object folder contents showed up. Now I have not done a commit on the list, but when I do an svn status I see all those nasty files ready to go when I send that command. Is there a way to remove them from that list or clear that list completely? Also, what is that list called? Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
将删除下次提交时添加的 bin 目录。
或者如果您想递归地恢复(有时有用)
Would remove the bin directory from being added at the next commit.
Or if you would like to recursively revert (sometimes useful)
您应该恢复不想提交的添加文件。
要将来忽略这些文件夹,请将它们添加到父文件夹的 svn:ignore 列表中。在此处阅读有关忽略未版本化项目的所有信息。
You should revert the added files that you don't want committed.
To ignore those folders in the future, add them to the svn:ignore list of the parent folder. Read all about ignoring unversioned items here.
如果您安装了TortoiseSVN,则可以使用资源管理器右键菜单上下文:TortoiseSVN、Unadd。
注意:只有在您标记了要添加的文件夹/文件的情况下,您才会看到“取消添加”。
If you have TortoiseSVN installed, you can use the explorer right-click menu context: TortoiseSVN, Unadd.
Note: You'll only see unadd if, like in your case, you've tagged folder/file to be added.