How split a huge code to small patches in Gerrit

瘦欲@ 提交于 2019-12-12 03:06:59

问题


Currently, I want to contribute to OpenStack and I am new to Gerrit. In Gerrit, I created a new branch my_branch but actually my code is very huge. Please kindly let me know how I can split my code to smaller changes with the same branch my_branch.


回答1:


Pleaas tray git gui tools - citool, gitk.

git citool gives possibility to choose which files and even which lines you put in new commit.

Very useful maybe also gitk command which show your commits tree. gitk gives also posibility to run some other git comman from gui.



来源:https://stackoverflow.com/questions/38651314/how-split-a-huge-code-to-small-patches-in-gerrit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!