Also, it might be that you want to clean up your commit history but I might actually want to see the struggle, the mental process you went through to get to the shiny results. Ask a scientist whether they burn their notes once they published their results.
— chx, regarding rebasing in git.