Replying to @coderbyheart

Creating a clean set of distinct commits in a PR requires that atomic commits
were made in the first place. It's a good habit while developing to commit early
and commit often: create many small commits, which you then later can combine
into bigger ones.

Thu, 28 May 2020 08:56:07 UTC

4 replies

Replying to @coderbyheart

git add -p allows you to create multiple commits from a situation where you
have applied different changes while developing (a new feature here, but also a
bug fix, and maybe some formatting, or changes to the CI configuration).