git 取消git fetch
时间: 2023-09-26 22:10:56 浏览: 218
要取消git fetch操作,可以使用以下命令:
git fetch --prune [2]
这个命令会取消之前的fetch操作,并且删除本地已经不再存在于远程主机的分支。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Git的git fetch, git merge和git pull, git rebase操作](https://blog.csdn.net/happiness365/article/details/119960181)[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_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [git fetch和git pull的区别](https://blog.csdn.net/weixin_42343307/article/details/121239170)[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_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文