当前位置:网站首页>How to switch remote server in gerrit
How to switch remote server in gerrit
2022-07-31 15:49:00 【Code Dragon-】
When the remote server you are using needs to be replaced, that is, the code is transferred to the new gerrit server, is it necessary to re-key and re-pull the code?In fact, it is not necessary. It is too much trouble to re-pull a code. You can use the command to switch the remote server.
Here is an example of switching from 192.168.8.67 to 192.168.1.80 remote server.
First step, check your current remote server address:
Use git remote -v to view the current URL:

After using the git remote -v command, you can see that the current remote server is 192.168.8.67, which is the remote server address to which local changes will be submitted when you use the git push command.
Step 2:
Use git remote set-url origin

Use git remout set-url origin
Step 3:
In the second step, the remote server has been successfully switched, and the code can be pulled normally by using the git pull command.
边栏推荐
- The R language ggstatsplot package ggbarstats function visualizes bar charts, and adds hypothesis test results (including sample number, statistics, effect size and its confidence interval, significan
- Implementing click on the 3D model in RenderTexture in Unity
- 网站漏洞修复服务商关于越权漏洞分析
- Handling write conflicts under multi-master replication (4) - multi-master replication topology
- 更新数据表update
- 第05章 存储引擎【1.MySQL架构篇】【MySQL高级】
- 贪吃蛇项目(简单)
- button控件的使用
- Tencent Cloud Deployment----DevOps
- MySQL多表联合查询
猜你喜欢

How useful is four-quadrant time management?

6-22 Vulnerability exploit - postgresql database password cracking

TRACE32 - SNOOPer-based variable logging

C language "the third is" upgrade (mode selection + AI chess)

mysql黑窗口~建库建表

【7.29】代码源 - 【排列】【石子游戏 II】【Cow and Snacks】【最小生成数】【数列】

定时器的类型

全新宝马3系上市,安全、舒适一个不落

Kubernetes principle analysis and practical application manual, too complete

"Autumn Recruitment Series" MySQL Interview Core 25 Questions (with answers)
随机推荐
MySQL多表联合查询
.NET 20周年专访 - 张善友:.NET 技术是如何赋能并改变世界的
Kubernetes原理剖析与实战应用手册,太全了
arm按键控制led灯闪烁(嵌入式按键实验报告)
Deployment application life cycle and Pod health check
Oracle动态注册非1521端口
01 邂逅typescript,环境搭建
ansible学习笔记02
Implement anti-shake and throttling functions
工程力学复习资料
tooltips使用教程(鼠标悬停时显示提示)
【MySQL】Mysql范式及外键作用
Linux check redis version (check mongodb version)
Linux查看redis版本(查看mongodb版本)
org.apache.jasperException(could not initialize class org)
6-22漏洞利用-postgresql数据库密码破解
基于Redis(SETNX)实现分布式锁,案例:解决高并发下的订单超卖,秒杀
mongo进入报错
修改SQL语言实现Mysql 多表关联查询优化
.NET 20th Anniversary Interview - Zhang Shanyou: How .NET technology empowers and changes the world