admin管理员组

文章数量:1638816

1.报错信息

执行git pull或git push报错,There is no tracking information for the current branch.Please specify which branch you
want to merge with。意思是当前没有跟踪信息分支。请指定您的分支要与合并.
是因为本地分支与远程分支没有建立联系,根据命令提示执行以下命令即可

git branch --set-upstream-to=origin/远程分支的名字 本地分支的名字   


查看本地分支和远程分支的关联关系

git branch -vv 

本文标签: 报错TrackingGitbranchCurrent