sourcetree:你可以反转“完成功能”吗?

问题描述 投票:1回答:1

我在git flow中错误地完成了“完成功能”(没有删除),可以反转吗?

enter image description here

git atlassian-sourcetree git-flow
1个回答
0
投票

使用git log查找历史记录并在两个分支上合并之前复制最后提交的哈希值。

git checkout develop
git checkout -b feature
git reset <hash of feature commit before merge> --hard
git checkout develop
git reset <hash of develop commit before merge> --hard
© www.soinside.com 2019 - 2024. All rights reserved.