当前位置:网站首页>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'.
好的,在工具中也能正常拉取和提交代码啦
边栏推荐
- matlab 如何保存所有运行后的数据
- Idea eye care settings
- 记一次Yarn Required executor memeory is above the max threshold(8192MB) of this cluster!
- Vscode plugin collection
- 获取键盘按下的键位对应ask码
- In depth: micro and macro tasks
- mysql heap表_MySQL内存表heap使用总结-九五小庞
- 在网页上实现任意格式的音视频快速播放功能的开发总结。
- Outline and box shadow to achieve the highlight effect of contour fillet
- 记一次redis超时
猜你喜欢

Idea eye care settings

Spark SQL空值Null,NaN判断和处理

伤透脑筋的CPU 上下文切换

How to solve the login problem after the 30 day experience period of visual stuido2019

在win10系统下使用命令查看WiFi连接密码

Spark SQL null value, Nan judgment and processing

为什么PrepareStatement性能更好更安全?

Spark submission parameters -- use of files

Run redis on docker to start in the form of configuration file, and the connection client reports an error: server closed the connection

matlab---错误使用 var 数据类型无效。第一个输入参数必须为单精度值或双精度值
随机推荐
UITextField的inputView和inputAccessoryView注意点
分布式原理 - 什么是分布式系统
请问seata中mysql参数每个客户端连接最大的错误允许数量要怎么理解呢?
自定义注解校验API参数电话号
Spark获取DataFrame中列的方式--col,$,column,apply
基于OpenCV和YOLOv3的目标检测实例应用
数据系统分区设计 - 分区再平衡(rebalancing)
Record a redis timeout
Word 样式模板复制到另一文档
Idea护眼色设置
JVM garbage collector details
How spark gets columns in dataframe --column, $, column, apply
记一次Spark foreachPartition导致OOM
Outline and box shadow to achieve the highlight effect of contour fillet
Instance Tunnel 使用
JVM知识脑图分享
How to finally generate a file from saveastextfile in spark
CGO is realy Cool!
Example of password strength verification
Graph theory and concept