git push HEAD
时间: 2023-10-12 14:05:21 浏览: 72
当我们使用git push HEAD命令时,我们将推送当前本地分支到远程仓库的对应分支。 这个命令的完整形式是git push origin HEAD,其中origin是指远程主机名。 使用这个命令我们可以将我们当前所在的本地分支的更改推送到远程仓库上。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [git基础教程(37) git push origin HEAD:refs/for/master 的意思](https://blog.csdn.net/HandsomeHong/article/details/120667901)[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* [git push 常见用法](https://blog.csdn.net/qq_33141353/article/details/106851506)[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 ]
阅读全文