在使用反向修补程序推送后撤消Git提交? [英] Undo a Git commit after push using reverse patch?
本文介绍了在使用反向修补程序推送后撤消Git提交?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我推送了一个提交,并且我想通过应用和提交反转补丁来还原此提交引入的更改。我该怎么做?
I've pushed a commit and I want to revert changes introduced by this commit by applying and committing a reversed patch. How do I do it?
推荐答案
听起来就像你想要使用git-revert。
Sounds like you want to use git-revert.
https://www.kernel.org/pub/software /scm/git/docs/git-revert.html
这篇关于在使用反向修补程序推送后撤消Git提交?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文