I'm iterating on a code feature in a Git branch that will eventually be boiled down into a single commit/patch via rebase. However, I still want to keep the original commits around in a single history file somehow, so I have a record of my work. What is the best way to do this?

The best method I can think of right now would be to use `git format-patch master` and then concatenate together all of the patch files generated into a single file. The only problem with this approach is that I'm lazy. I can't be bothered to do all that outside of git.