Closed eteq closed 5 years ago
Rebase!!! 😉 (and squash too... why not???)
interactive rebase-squash
I would be happy to contribute to this discussion in a non-denominational way.
Perhaps @drdavella can tell us about git rerere
(the best/worst-named git command... and that's saying something)
I already mentioned it in #23!
If there are multiple contributors to a PR, squashing means credit will not be given to all contributors, right?
Yes, GitHub only allows one author the last time I checked (there's "author1 committed with author2" message if you squash but I don't think they both count in the stats?). You don't have to squash all the commits, but some in a reasonable day. For example, "fix typo" or "fix doc" commits can definitely be squashed into an earlier relevant commit. There is no definite rule; it is a judgement call.
I think this is just gang war waiting to happen...
Discussion of when pulling/merging is better/worse than rebasing. @eteq can frame the discussion and his attitude about this.