News for hackers. Stuff that matters.
Re:Git is my buddy: Effective Git as a solo developer by Ajedi32 on Tuesday February 23, 2021 @11:42AM (#26239403)
Pretty much what I do too, even working in collaborative projects. Once nice thing about git is that it makes it easy to go back and clean up your history with rebase before publishing it to others, so you can make as big of a mess as you want in your local branches without anyone else having to see it.

So yes, having "interm" or "wip" commits would be an anti-pattern in a shared repo, as it makes it harder for others to see what changes you made. For a local branch though; not a big deal.

Re:Git is my buddy: Effective Git as a solo developer by rrosen326 on Tuesday February 23, 2021 @11:45AM (#26239450)
So maybe that's the idea for my projects that I make available to others. Be a bit more deliberate with branches, allow them to be junky, and clean up when I merge to master. That seems like the best of both worlds with minimal effort. I think I'll even try it.
Re:Git is my buddy: Effective Git as a solo developer by kop316 on Tuesday February 23, 2021 @11:51AM (#26239516)
That has been how I have started to do it. I make a new branch, make a mess of it (until I am finished), then merge it back into the original "golden" branch.