re: How to Use Git Merge [the Correct Way] VIEW POST

TOP OF THREAD FULL DISCUSSION
re: If you like keeping a cleaner history you can rebase the branch onto master prior to doing the merge. It depends on how vital the independent branc...
 

I always prefer rebasing the feature branch first, then merging. It allows for a simpler linear repo history (this is if I'm the only one working on it).

I also like to clean it up with some commit squashing with: git rebase -i HEAD~n.

code of conduct - report abuse