Re:Understanding Git for real by exploring the .git directory
by fla on Monday February 22, 2016 @03:24AM
(#11149370)
It is an interessting analysis. I think you're right saying that its a matter of philosophy after all.
In my experience, the clean linear history can be important when you build a product which is going to be certified since the developement process is key to obtain the certification.
Also, I like the fact you can always reorganize your commits before rebasing, making them more atomic / cleaner.
I see merits in both approaches: Rebase seems to be good when you want to focus on the project minus the process, while merging seems to be good when you want to know the process behind the project. For larger projects with multiple contributors, I think the merging approach is better because of the process visibility. For smaller projects with one or two developers, a rebase approach could be "cleaner" when looking through the logs later on.
I'm interested to hear what other's opinion on the topic as well.
[0] - https://git-scm.com/book/en/v2/Git-Branching-Rebasing#Rebase...