git pull提示如下信息时候的操作

2022-10-28,,,,

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

git pull提示如下信息时候的操作的相关教程结束。

《git pull提示如下信息时候的操作.doc》

下载本文的Word格式文档,以方便收藏与打印。