之前是有在該分支提交代碼到遠(yuǎn)程倉(cāng)庫(kù),然后執(zhí)行g(shù)it reset后再執(zhí)行g(shù)it pull就提示沒(méi)有關(guān)聯(lián)遠(yuǎn)程倉(cāng)庫(kù),無(wú)法git pullThere is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.
git pull <remote> <branch>If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream-to=origin/<branch> dev
1 回答

鳳凰求蠱
TA貢獻(xiàn)1825條經(jīng)驗(yàn) 獲得超4個(gè)贊
不是沒(méi)有關(guān)聯(lián)倉(cāng)庫(kù),是當(dāng)前分支沒(méi)有關(guān)聯(lián)遠(yuǎn)程分支,很可能的是你當(dāng)前分支是新建的,沒(méi)有push上去
你可以把先push一下,應(yīng)該就好了
- 1 回答
- 0 關(guān)注
- 1698 瀏覽
添加回答
舉報(bào)
0/150
提交
取消