报错如下:
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
解决方法:
git branch –set-upstream-to=origin/develop develop
或
git branch –set–upstream develop origin/develop
(develop为新建分支name)
本文介绍了一种常见的Git错误——当前分支没有追踪信息,并提供了两种命令解决方案,帮助开发者正确设置分支与远程仓库的关联。
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
git branch –set-upstream-to=origin/develop develop
或
git branch –set–upstream develop origin/develop
(develop为新建分支name)
您可能感兴趣的与本文相关的镜像
Stable-Diffusion-3.5
Stable Diffusion 3.5 (SD 3.5) 是由 Stability AI 推出的新一代文本到图像生成模型,相比 3.0 版本,它提升了图像质量、运行速度和硬件效率

被折叠的 条评论
为什么被折叠?