当前位置:网站首页>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:35:00 【Please tell him】
problem
Newly created locally git Branches and some have been pushed to online warehouses
But this morning I got up and pulled the latest code as follows , I have encountered this problem many times , It's necessary to write it down

analysis
Literally, there is no configuration Branch
Enter your project , Turn on git Command line window , Enter the following
git branch --set-upstream-to origin
The results are as follows
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.
Later, the direct implementation is as follows , Add the name of my newly created Branch v1.0.1
git branch --set-upstream-to origin/v1.0.1
give the result as follows
>git branch --set-upstream-to origin/v1.0.1
Branch 'v1.0.1' set up to track remote branch 'v1.0.1' from 'origin'.
well , You can also pull and submit code normally in the tool
边栏推荐
猜你喜欢

Node learning

Take you to create your first C program (recommended Collection)

Reflection - Notes

Pytorch学习笔记--Pytorch常用函数总结1

ML - 语音 - 深度神经网络模型

MATLAB读取显示图像时数据格式转换原因

Phased summary of the research and development of the "library management system -" borrowing and returning "module

ML - natural language processing - Basics

GAMES101复习:线性代数

CF888G-巧妙字典树+暴力分治(异或最小生成树)
随机推荐
Endnote 无法编辑range 解决
JVM parameter configuration details
Word 样式模板复制到另一文档
How to understand the maximum allowable number of errors per client connection of MySQL parameters in Seata?
2021 Shanghai sai-d-cartland number variant, DP
Pat class a topic directory
2016CCPC网络选拔赛C-换根dp好题
Local cache --ehcache
ML - 语音 - 语音处理介绍
matlab 优化工具 manopt 安装
See a lot of blinking pictures on apps, especially the member page
Cf888g clever dictionary tree + violent divide and conquer (XOR minimum spanning tree)
Brain racking CPU context switching
Binary complement
获取键盘按下的键位对应ask码
HDU3873-有依赖的最短路(拓扑排序)
ML - Speech - advanced speech model
为什么PrepareStatement性能更好更安全?
Games101 review: Transformation
ios 面试题