| > I don't expect each commit to be pristine, working version. I guess this is the difference, I expect the commit to represent a somewhat working version, at least when it's in upstream, locally it doesn't matter that much. > Why do this, what is the advantage? Cleaner I suppose. Doesn't make sense to have 10 commits whereas 9 are broken half-finished, and 10 is the only one that works, then I'd just rather have one larger commit. > they would like to have clean commit histories but why for a personal project? Not sure why it'd matter if it's personal, open source, corporate or anything else, I want my git log clean so I can do `git log --short` and actually understand what I'm seeing. If there is 4-5 commits with "WIP almost working" between each proper commit, then that's too much noise for me, personally. But this isn't something I'm dictating everyone to follow, just my personal preference after all. |
Yep, no excuse for this, feature branches exist for this very reason. wip commits -> git rebase -i master -> profit