|
|
|
|
|
by the4dpatrick
3764 days ago
|
|
Before reading more about rebasing, I wouldn't have an opinion here, but like most things in programming I think it's a matter of philosophy.
Do we want the history to be "record of what actually happened" or "story of how your project was made." [0] 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... |
|
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.