代码已经由本地提交到了远端

想由
提交二
回滚至提交一
提交一

提交二

- 右击
提交一
选择重置到这次提交
—硬合并
18922
合并后为
121840
- 右击
- 右击
提交二
选择重置到这次提交
—软合并
,此时代码已经回滚到了提交一
,直接将改变的代码提交至远端就可以了(改变的代码就是提交二
与提交一
的差异代码)
- 右击
-
3.最终结果为
12123
代码已经由本地提交到了远端
提交二
回滚至提交一
提交一
选择重置到这次提交
—硬合并
提交二
选择重置到这次提交
—软合并
,此时代码已经回滚到了提交一
,直接将改变的代码提交至远端就可以了(改变的代码就是提交二
与提交一
的差异代码)3.最终结果为
本文标题:Sourcetree回滚远端代码
本文链接:https://www.haomeiwen.com/subject/zpjxoqtx.html
网友评论