当前位置:网站首页>上传代码到远程仓库报错error: remote origin already exists.
上传代码到远程仓库报错error: remote origin already exists.
2022-07-02 14:01:00 【ChangYan.】
关联仓库报如下错误
这是由于已经关联了一个远程仓库,而不能继续再关联其它仓库。
我们首先需要做的就是先移除当前关联的仓库,然后再重新关联新的仓库。
通过git remote -v查看当前关联的仓库
通过git remote rm origin命令删除现绑定远程库
然后再通过git remote add origin [email protected]:新仓库名称.git进行绑定
之后查看当前关联的仓库,发现已经转换成功啦!大功告成!
边栏推荐
- The login box of unity hub becomes too narrow to log in
- What if the win11 app store cannot load the page? Win11 store cannot load page
- PCL least median square method fitting plane
- Typescript array out of order output
- 云原生的 CICD 框架:Tekton
- Ranger (I) preliminary perception
- According to the atlas of data security products and services issued by the China Academy of information technology, meichuang technology has achieved full coverage of four major sectors
- go-zero微服务实战系列(八、如何处理每秒上万次的下单请求)
- Written by unity Jason
- 基于多元时间序列对高考预测分析案例
猜你喜欢

Unity使用UGUI设置一个简单多级水平方向下拉菜单(不需要代码)

外企高管、连续创业者、瑜伽和滑雪高手,持续迭代重构的程序人生

sql解决连续登录问题变形-节假日过滤

Exploration and practice of integration of streaming and wholesale in jd.com

How to choose the right kubernetes storage plug-in? (09)

Aujourd'hui dans l'histoire: Alipay lance le paiement par code à barres; La naissance du père du système de partage du temps; La première publicité télévisée au monde...

机器学习-感知机模型

What if the win11 app store cannot load the page? Win11 store cannot load page

PWM控制舵机

Penetration tool - intranet permission maintenance -cobalt strike
随机推荐
Library management system (Shandong Agricultural University Curriculum Design)
串口控制舵机转动
基于Impala的高性能数仓实践之执行引擎模块
LeetCode 5. Longest Palindromic Substring
Global and Chinese market of switching valves 2022-2028: Research Report on technology, participants, trends, market size and share
john爆破出現Using default input encoding: UTF-8 Loaded 1 password hash (bcrypt [Blowfish 32/64 X3])
TCP server communication process (important)
unity Hub 登录框变得很窄 无法登录
John blasting appears using default input encoding: UTF-8 loaded 1 password hash (bcrypt [blowfish 32/64 x3])
Hard core! One configuration center for 8 classes!
SSM integration exception handler and project exception handling scheme
配置基于接口的ARP表项限制和端口安全(限制用户私自接入傻瓜交换机或非法主机接入)
SQL solves the problem of continuous login deformation holiday filtering
Recalling the college entrance examination and becoming a programmer, do you regret it?
Student course selection system (curriculum design of Shandong Agricultural University)
DigiCert SSL证书支持中文域名申请吗?
MySQL port
Unity Json 编写
机器学习-感知机模型
Digital IC hand tearing code -- voting device