--

You make a great point about pull request standards, which is a topic I wrote about in another article:

Personally I’d rather have 10,000 informative, atomic commits than 1,000 informative, squashed commits with great PRs.

As an example, I recently deleted a dockerfile that I thought was unused. It was much easier to revert the un-squashed commit than to try to revert the entire PR.

Of course, I could have just used the PR’s history to copy-paste the Dockerfile, but there’s still a reason I prefer my atomic commits.

--

--

Dr. Derek Austin 🥳
Dr. Derek Austin 🥳

Written by Dr. Derek Austin 🥳

Hi, I'm Doctor Derek! I've been a professional web developer since 2005, and I love writing about programming with JavaScript, TypeScript, React, Next.js & Git.

Responses (1)