Git 版本库交错的历史怎样整理
巴扎黑
巴扎黑 2017-05-02 09:45:43
0
1
584

现Git仓库提交历史如上面所示,请问具体怎么整理这些交错历史?

巴扎黑
巴扎黑

reply all(1)
滿天的星座

With such a jagged submission history in this picture, I don’t have any good way to make it tidier. In fact, this is okay, because this submission history truly reflects the entire work process of your warehouse.
If you want to get a clean commit history, I have a suggestion, which is to use the git rebase变基操作,而不是git mergemerge operation when integrating branches. Of course, this suggestion is just to avoid a messy commit history like the one in the picture.
For the use of rebase operations, you can find detailed tutorials in the Progit book.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!