Re: git rebase --interactive squash/squish/fold/rollup
- From
John Tapsell <johnflux@gmail.com>
- Date
- Jun 17, 2009, 12:55 UTC
- Message-ID
- <43d8ce650906170555m644564b3v3722168f7217c326@mail.gmail.com>
- In-Reply-To
- <e1868cfe0906170506o37a75c35m47f9456bf8ae47c1@mail.gmail.com>
> branch, hack, commit. > hack, commit, hack, commit
What if you used commit --append instead?
The trouble though of squashing all the commits into one is that it makes it impossible to bisect later. Are you really sure that your final commit cannot be broken into small commits? Ideally each commit is small but self contained. Squashing should be done only to fix cases where you introduced a bug then fixed it, or to fix a partial implementation etc.
John