当前位置:网站首页>Gerrit operation - rollback a patch_ set
Gerrit operation - rollback a patch_ set
2022-07-28 04:33:00 【Mr FF】
Back off gerrit Upper patch set, Suppose your goal is to start from patch_set2 -> patch_set1
( If you encounter a scene that is not only HEAD Different , Even the branches have changed .)
Follow the following methods :
1 A new path , Separately for downloading patch_set1 and patch_set2
2 Create a new local branch, git checkout -b branchname
3 Use gerrit Medium Reset To Method , First reset To patch_set1,
4 Use gerrit Medium cherry-pick Method , stay patch_set1 On the implementation cherry-pick patch_set2 Method
5 Then modify it patch_set2 The changes to the ,git add
6 git commit --allow-empty, This step will produce a new commit id
7 get reset HEAD^ , Re execution git commit --amend, Bring the new changes to the previous commit id.
8 Submit
边栏推荐
- Nat fundamentals and private IP
- Niuke, convert string to integer
- 【sylar】框架篇-Chapter12-ByteArray 模块
- Important SQL server functions - numeric functions
- 25 openwrt guest network add
- 【sylar】框架篇-Chapter20-守护进程模块
- Transformer landing | next vit realizes the real-time landing of industrial tensorrt, surpassing RESNET and cswin
- 【sylar】框架篇-Chapter23-模块篇总结
- How to upgrade a pair of 12.2 RAC(primary) and a pair of 12.2 RAC(dataguard) to 19c
- About me writing a custom cell
猜你喜欢

重要的 SQL Server 函数 - 字符串实用程序

VAE generation model (with VAE implementation MNIST code)

Select sorting method
![[blood vessel detection] Based on MATLAB mom method, combined with Hessian and curve fitting, blood vessel diameter measurement [including Matlab source code, 1970]](/img/72/10bd8a292c3ee3445907795ebf2ae8.png)
[blood vessel detection] Based on MATLAB mom method, combined with Hessian and curve fitting, blood vessel diameter measurement [including Matlab source code, 1970]

Information system project manager (2022) - key content: information system integrated testing and management, project management maturity model, quantitative project management (21)

Idea2022 change the local warehouse and configure Alibaba cloud central warehouse

上班摸鱼打卡模拟器微信小程序源码

23 openwrt switch VLAN configuration

Null security and exception

Virtual machine class loading mechanism
随机推荐
Attempt method in laravel user authentication
Explain initialization list
could only be written to 0 of the 1 minReplication nodes. There are 0 datanode(s) running and 0 node
How to select reliable securities analysts?
登录之后右上角改变 进入登录状态
Password key hard coding check
【sylar】框架篇-Chapter11-Socket 模块
Practice and thinking of AI standardization engine in pink client
【sylar】框架篇-Chapter7-IO 协程调度模块
10 more advanced open source command line tools
MySQL:数据类型和运算符
VAE generation model (with VAE implementation MNIST code)
Object locking in relational database transactions
Some personal understandings of openpose
031 log4j log framework
【sylar】框架篇-Chapter20-守护进程模块
Simple summary of Modbus Protocol
Fedformer MOE module
CMake使用基础汇总
Information system project manager (2022) - key content: Information System Security Management (20)