git branch -u
时间: 2023-09-03 21:14:33 浏览: 130
git branch基本使用
引用这个命令的另一种写法是git push -u origin B,它也能实现同样的效果。使用这个命令需要确保远程仓库中存在目标分支B,否则无法成功建立关联。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [一分钟搞定 git push -u 和 git branch --set-upstream-to 的区别](https://blog.csdn.net/weixin_43593086/article/details/119003177)[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%"]
- *3* [git push -u什么意思 和git push --set-upstream origin master:master什么意思](https://blog.csdn.net/Will_Che/article/details/125590297)[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 ]
阅读全文