Here's Linus Torvalds' thoughts on rebasing. https://yarchive.net/comp/linux/git_rebase.html
Here's Linus Torvalds' thoughts on rebasing. https://yarchive.net/comp/linux/git_rebase.html
I have no problem if you want to locally squash your commits. Just don't rewrite public history. It's not worth it. At our commit rate, no one is reading the combined history logs without filters first.
One day you'll find a commit labeled "removing comments" that breaks something because the dev palmed the trackpad while hitting the delete key and lopped off a line of code. You want that to be something you can find with a bisect.
It amazes me to see a bunch of discussion here from people arguing that one should throw away history so that some silly graph view is prettier.
History isn't meant to be pretty. It's meant to be history.
But once history has been shared (pushed, generally), it really shouldn't be touched anymore.