当前位置:网站首页>No tracked branch configured for branch xxx or the branch doesn‘t exist. To make your branch trac
No tracked branch configured for branch xxx or the branch doesn‘t exist. To make your branch trac
2022-07-25 15:23:00 【请告诉他】
问题
在本地新创建了git分支并且有已经正常推送到过线上仓库
但是今天早上起来拉取最新代码提示如下,这个问题我遇到过好多次了,很有必要记一笔

分析
字面意思是说没有配置分支
进入你的项目,开启git命令行窗口,输入以下
git branch --set-upstream-to origin
结果提示如下
hint:
hint: If you are planning on basing your work on an upstream
hint: branch that already exists at the remote, you may need to
hint: run "git fetch" to retrieve it.
hint:
hint: If you are planning to push out
a new local branch that
hint: will track its remote counterpart, you may want to use
hint: "git push -u" to set the upstream config as you push.
后来直接执行如下,加入我新创建的分支名称v1.0.1
git branch --set-upstream-to origin/v1.0.1
结果如下
>git branch --set-upstream-to origin/v1.0.1
Branch 'v1.0.1' set up to track remote branch 'v1.0.1' from 'origin'.
好的,在工具中也能正常拉取和提交代码啦
边栏推荐
- 记一次redis超时
- How to solve the problem of scanf compilation error in Visual Studio
- 为什么PrepareStatement性能更好更安全?
- Endnote 添加中文GBT7714样式 word中如何引用文献
- matlab 优化工具 manopt 安装
- Is it safe to open futures online? Which company has the lowest handling charge?
- Spark judges that DF is empty
- CGO is realy Cool!
- Spark SQL空值Null,NaN判断和处理
- Run redis on docker to start in the form of configuration file, and the connection client reports an error: server closed the connection
猜你喜欢

记一次Yarn Required executor memeory is above the max threshold(8192MB) of this cluster!

理解“平均负载”

推荐10个堪称神器的学习网站

Spark SQL null value, Nan judgment and processing

ML - natural language processing - Key Technologies

一个程序最多可以使用多少内存?

Spark memory management mechanism new version

从 join on 和 where 执行顺序认识T-sql查询执行顺序

spark分区算子partitionBy、coalesce、repartition

MATLAB 如何生产随机复序列
随机推荐
数据系统分区设计 - 请求路由
The implementation process of inheritance and the difference between Es5 and ES6 implementation
如何更新更新数据库中的json值?
记一次Spark报错:Failed to allocate a page (67108864 bytes), try again.
Application of C language array in Sanzi chess -- prototype of Queen n problem
CGO is realy Cool!
How to update JSON values in the database?
Ml speech depth neural network model
Spark 内存管理机制 新版
Overview of JS synchronous, asynchronous, macro task and micro task
Spark SQL空值Null,NaN判断和处理
Idea remotely submits spark tasks to the yarn cluster
The development summary of the function of fast playback of audio and video in any format on the web page.
ML - 语音 - 传统语音模型
How to understand the maximum allowable number of errors per client connection of MySQL parameters in Seata?
C language function review (pass value and address [binary search], recursion [factorial, Hanoi Tower, etc.))
The number of query results of maxcompute SQL is limited to 1W
二进制补码
Remember that spark foreachpartition once led to oom
在win10系统下使用命令查看WiFi连接密码