在idea中拉取代码时出现下面的异常情况:
16:00 Can't Update
No tracked branch configured for branch dev2.0 or the branch doesn't exist.
To make your branch track a remote branch call, for example,
git branch --set-upstream-to=origin/dev2.0 dev2.0 (show balloon)
进行拉取时拉取失败,原因如上时,复制 git branch --set-upstream-to=origin/dev2.0 dev2.0
,打开项目所在文件地址,如:
进入项目内:
打开 git bash here:首先输入复制的,再依次输入,然后回到idea拉取就可以了