在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答/Linux/ git reset后執(zhí)行g(shù)it pull為什么會(huì)提示沒有關(guān)聯(lián)遠(yuǎn)程倉庫呢?

git reset后執(zhí)行g(shù)it pull為什么會(huì)提示沒有關(guān)聯(lián)遠(yuǎn)程倉庫呢?

之前是有在該分支提交代碼到遠(yuǎn)程倉庫,然后執(zhí)行g(shù)it reset后再執(zhí)行g(shù)it pull就提示沒有關(guān)聯(lián)遠(yuǎn)程倉庫,無法git pull

There 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
回答
編輯回答
陪妳哭

不是沒有關(guān)聯(lián)倉庫,是當(dāng)前分支沒有關(guān)聯(lián)遠(yuǎn)程分支,很可能的是你當(dāng)前分支是新建的,沒有push上去

你可以把先push一下,應(yīng)該就好了

2017年5月4日 14:30