赞
踩
git checkout origin/release
git revert 0bda23a5
error: commit 0bda23a5468b9ddca6aa63dc6bae783da577181c is a merge but no -m option was given.
fatal: revert failed
git show 0bda23a5
来查看,截图如下: commit 0bda23a5468b9ddca6aa63dc6bae783da577181c
Merge: b287963c 9de004ff
git revert 0bda23a5 -m 1
后会发现现在代码提交处会生成一份新的提交记录,我们只需要将其再次提交即可解决问题Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。