我可以在Subversion中删除提交吗? [英] Can I delete a commit in Subversion?

查看:120
本文介绍了我可以在Subversion中删除提交吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次事故我都犯了两次,因为我忘记添加两个文件.我可以从日志中删除特定的提交吗?

Per accident I committed twice because I forgot to add two files. Can I remove a specific commit from the log?

我要删除4号提交.

推荐答案

简单的答案是否",因为Subversion在添加提交时不知道如何解决案件,其他人会更新其结帐,然后您可以从历史记录中删除提交. Subversion存储区上可能有或可能没有涉及手术的复杂答案.

The simple answer is "no", because Subversion doesn't know how to resolve the case when you add a commit, someone else updates their checkout, and then you remove the commit from history. There might or might not be a complex answer involving surgery on the Subversion storage.

这篇关于我可以在Subversion中删除提交吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆