--no-commit
时间: 2023-09-26 07:10:58 浏览: 272
--no-commit是git merge命令的一个选项,它允许在合并分支时不自动提交合并结果。当使用--no-commit选项时,Git会将所有更改合并到当前分支,但不会自动创建一个新的提交。这样可以让用户在合并完成后,对合并结果进行进一步的修改和调整,然后手动提交这个合并结果。通过这个选项,可以给用户更多的灵活性和控制权,以便在合并分支之后对代码进行进一步的审查和确认。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [pre-commit-golang:预先提交golang](https://download.csdn.net/download/weixin_42118160/16579921)[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^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [git merge 与 git merge --no-commit 与 git merge --squash](https://blog.csdn.net/Solidif_Win/article/details/122924578)[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^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文