git interactive rebase squash into next commit
问题 In Git I can use an interactive rebase to re-write history, this is great because in my feature branch I made a ton of commits with partially working code as I explored different refactors and ways of getting it done. I'd like to squash a lot of the commits together before rebasing or merging the branch onto master. Some made up commits in order from first (top) to bottom (last) 1. Initial commit on feature branch "Automatic coffee maker UI" 2. Add hot chocolate as product 3. Add tea as