3 ms·
This is also suboptimal. I’d rather each commit be an atomic unit: no larger and no smaller than it needs to be. Edit: in other words, concurring with TFA.
by pbh101 8y ago
This is also suboptimal. I’d rather each commit be an atomic unit: no larger and no smaller than it needs to be.
Edit: in other words, concurring with TFA.
- ghayes 8y agoSure, but the best way to get there in my mind is `rebase -i`, which means you've made a few and revised a few commits along the way.
- deleted 8y ago[deleted]
- TomK32 8y agoyes, but often on a feature branch you have WIP, change your code a few commits later and so on. I use rebase -i a lot and it make better code.
- Sean1708 8y ago`rebase -i` is fine (`commit --fixup` and `rebase --autosquash -i` is better), squashing all commits down into one is not (at least doing it all the time is not).