by justinlaster · 9y ago · 0 comments
Merge commits are useful, in my opinion, if there was significant work done to get two branches to "align" with each other. Otherwise, just rebase your work for a cleaner history.
So in short:
Merging: More "accurate" history about the work done to bring the work into the main/dev branch, yet messier.
Rebasing/cherry-picking: cleaner history, potentially at the expense of context and "accurate" history about the work done to bring in code to the main/dev branch.
No comments yet.