当前位置:网站首页>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
边栏推荐
- There are so many ways to view the web source code! Do you know?
- 高数_第4章__曲线积分
- Information system project manager (2022) - key content: intellectual property rights and standards and specifications (22)
- 《KG-BERT: BERT for Knowledge Graph Completion》
- 【sylar】框架篇-Chapter12-ByteArray 模块
- H. 265 web player easyplayer realizes webrtc video real-time recording function
- Shanghai Telecom released public computing services and signed the action plan of "Joint Innovation Center for intelligent computing applications" with Huawei and other partners
- Advanced architects, 16 common principles of microservice design and Governance
- Reading of seq2path: generating sentimental tuples as paths of a tree
- Nat fundamentals and private IP
猜你喜欢

Esp8266 WiFi module and mobile communication

Jupyter Notebook安装代码提示功能

重要的 SQL Server 函数 - 数字函数

High number_ Chapter 4__ Curvilinear integral_ Exercise solution

Reading of the paper "attentional encoder network for targeted sentimental classification"

高数_第4章__曲线积分_习题解法

Pyqt based grouping tool

Shanghai Telecom released public computing services and signed the action plan of "Joint Innovation Center for intelligent computing applications" with Huawei and other partners

Destructor of member function

Advanced architects, 16 common principles of microservice design and Governance
随机推荐
【sylar】框架篇-Chapter15-Stream 模块
After login, the upper right corner changes to enter the login status
Null security and exception
[blood vessel detection] Based on MATLAB mom method, combined with Hessian and curve fitting, blood vessel diameter measurement [including Matlab source code, 1970]
glusterfs 文件未挂载,权限: r-s
[Sylar] framework Chapter 8 timer module
Warning: file already exists but should not: c:\users\workmai\appdata\local\temp appears when Python packages exe\_ MEI13
25 openwrt guest network add
Reading of the paper "attentional encoder network for targeted sentimental classification"
Idea start project MVN command terminal cannot recognize "MVN" item as cmdlet
Object locking in relational database transactions
H. 265 web player easyplayer realizes webrtc video real-time recording function
Practice and thinking of AI standardization engine in pink client
Transformer landing | next vit realizes the real-time landing of industrial tensorrt, surpassing RESNET and cswin
登录之后右上角改变 进入登录状态
MySQL:数据类型和运算符
23 openwrt switch VLAN configuration
《KG-BERT: BERT for Knowledge Graph Completion》
重要的 SQL Server 函数 - 其他函数
Mac installs mysql5.7 through brew