News for hackers. Stuff that matters.
Re:Dura is a background process that watches your Git reposi... by fivea on Tuesday January 04, 2022 @04:20AM (#29792882)
> Along similar lines, I've adopted a hyper-frequent commit pattern in git. I do a bunch of meaningless micro-commits as I'm making progress, and then rewrite them all into one or two meanginful commits once I've reached a working state of whatever I was trying to do.

Aren't you describing a feature branch? That frankly sounds like git 101.

Re:Dura is a background process that watches your Git reposi... by int_19h on Tuesday January 04, 2022 @05:06AM (#29793209)
Nope. A feature branch is still expected to have meaningful commits, and is usually used for collaboration between several coders. Its history doesn't get rewritten.

What OP describes is a temporary work branch that belongs to a single person, and has a bunch of meaningless commits. So nobody else should be using it - or if they do, they need to sync with the owner, since the latter can squash or otherwise mutate commits at any time.

Re:Dura is a background process that watches your Git reposi... by fivea on Wednesday January 05, 2022 @09:32AM (#29809395)
> A feature branch is still expected to have meaningful commits, and is usually used for collaboration between several coders.

No, not really. In fact, some issue tracking software equate feature branches with tickets, worked on by a single person.

> What OP describes is a temporary work branch that belongs to a single person, and has a bunch of meaningless commits.

Aka a feature branch.

Re:Dura is a background process that watches your Git reposi... by int_19h on Thursday January 06, 2022 @02:15AM (#29820395)
I guess we'll have to agree to disagree, then. In my 20 years in this industry, I've never seen a feature branch like that.