一、問題詳情
當(dāng)使用idea拉取最新代碼進(jìn)行更新時,提示信息如下
二、問題原因
查看提示信息
To make your branch track a remote branch call //需要 本地和遠(yuǎn)程分支關(guān)聯(lián)
三、解決方案
提示中已經(jīng)給出了例子:
git branch --set-upstream-to=origin/分支名
我的分支是在origin/master。于是如下:打開git命令窗口
輸入:git branch --set-upstream-to=origin/master/分支名文章來源:http://www.zghlxwxcb.cn/news/detail-672027.html
然后push下就行了文章來源地址http://www.zghlxwxcb.cn/news/detail-672027.html
到了這里,關(guān)于【git】idea使用update提示Can‘t Update No tracked branch configured for branch master or the branch doe...的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!