Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我错误地将一些敏感数据提交到了 SVN。我不希望我的合作者看到这些数据。我可以将 SVN 恢复到以前的状态并从 SVN 历史记录中删除最新版本(假装根本没有进行最新提交)吗?
从 SVN 中删除修订版是相当有问题的(请参阅@juergend 提供的链接)。它是故意这样做的。想到的一种可能的解决方法是:在您意外提交之前从修订版分支并禁止访问原始分支。