执行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

解决办法:
把本地分支跟远端分支进行关联

git branch --set-upstream-to=origin/dev dev
git branch --set-upstream-to=origin/master master

相关文章:

  • 2021-04-06
  • 2022-01-15
  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
  • 2021-10-21
  • 2021-11-10
猜你喜欢
  • 2022-01-11
  • 2021-12-10
  • 2022-02-10
  • 2021-07-23
  • 2021-08-01
相关资源
相似解决方案