4 ms·
> But then rebase, squash, and edit the commits before > sharing them. And then realise that doing it properly in the first place most definitely would not
by OJFord 11y ago
> But then rebase, squash, and edit the commits before
> sharing them.
And then realise that doing it properly in the first place most definitely would not have been a slow-down!
- rev_bird 11y agoThis is pretty simple to do outside of die-hard "continuous integration" shops -- most of the time I can just do git rebase -i HEAD~4 (where '4' is the number of little dumb commits I made) and squash them all into the first commit. But if I made a few commits, then pulled in someone's changes, then made a few more... well... http://xkcd.com/1597/ http://xkcd.com/1597/