by city41 · 11y ago · 0 comments
[0] i.e. looks like http://blog.carbonfive.com/wp-content/uploads/2010/12/multip...
Personally I think, rebase + auto-squash/auto-fixit makes the history a lot easier when it's time to look back. It just happens so rarely I wonder if it's really worth the effort I expend on it.
I have noticed that among people I respect, there is a strong correlation between using git-bisect and wanting a clean history.
Anyway, now I just don't do it anymore. Git is a pain in the ass.
I am curious what you use as an alternative.
About rebasing the feature branch onto master, my team doesn't do that, we squash the feature branch commits into one commit when merging to master.
(I don't use anything besides git, but that doesn't mean I can't hate it)
The rebase strategy and merge strategy both have their places - neither is fit for "whenever we do a pull request" for all people everywhere.
I think rebasing is a good idea anyway, but it's a tradeoff.
Small issues can slip through, but on teams I've worked on, submitting a PR that is truly broken is really bad form. Sometimes that does mean submitting PRs is tedious, but that's just how it goes sometimes. Thankfully, it's not that often in my experience.