如何SVN保留但本地删除?

发布于 2024-10-21 04:10:45 字数 76 浏览 6 评论 0原文

我完成了一个项目,不想将其保留在本地,但又不想从计算机中提交删除操作或稍后意外执行此操作。如何“取消修订”本地文件,以便不必担心删除它们?

I'm done with a project and don't want to keep it locally, but don't want to commit my deletions from my computer or accidentally do it later. How do you "unrevision" local files so you don't have to worry about deleting them?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

玩心态 2024-10-28 04:10:45

如果您删除整个工作树,那么就不可能“意外”将其提交回 Subversion。 Subversion 元数据存储在 .svn 子目录中,如果删除这些子目录,那么到服务器的链接也会消失。

当您想再次开始该项目时,只需进行新的结账即可。

If you delete the entire working tree, then there will be no possibility of "accidentally" committing that back to Subversion. The Subversion metadata is stored in .svn subdirectories, and if you get rid of those then the link to the server is gone as well.

When you want to start working on that project again, just make a new checkout.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文