How split a huge code to small patches in Gerrit

2019-09-05 08:27发布

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条回答
Summer. ? 凉城
2楼-- · 2019-09-05 08:54

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.

查看更多
登录 后发表回答