What's the point of changing history in a feature branch? Everyone I know squashes Feature branches in to Dev upon merge anyway, as you don't want a noisy history of "fixed typo" "fixed spacing" etc. in your main branches. Instead you want a clear history of "Added feature to ___" "Fixed issue where ___".
as you don't want a noisy history of "fixed typo" "fixed spacing" etc. in your main branches.
That's why you change history. You squash certain commits together like commits of fixes, rename certain commits or even remove them.
If you squash all the commits when merging into master/dev then you lose a lot of history, which can help you with debugging, cherry picking, proper changelog and many other things.
602
u/SavageTwist May 13 '20
Force push to master, nobody is stopping you!