git取消cherry-pick
时间: 2023-10-19 18:05:36 浏览: 176
要取消git cherry-pick操作,可以使用以下命令:git cherry-pick --abort。这个命令将会放弃当前的cherry-pick操作,并回到操作之前的状态,就像什么都没有发生一样。通过执行这个命令,你可以取消之前的cherry-pick操作,使代码库回到操作前的状态。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Git的cherry-pick等一些小知识](https://blog.csdn.net/weixin_41229588/article/details/126180825)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [如何在 Git 里撤销(几乎)任何操作和log、reflog、cherry-pick使用](https://blog.csdn.net/qq_35461287/article/details/89094447)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文