How to organize the interleaved history of Git repositories
巴扎黑
巴扎黑 2017-05-02 09:45:43
0
1
620

The current submission history of the Git warehouse is as shown above. How to sort out these interleaved histories?

巴扎黑
巴扎黑

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