DEV Community

loading...

Discussion on: How I Write Source Control Commit Messages

Collapse
brunorodrigues profile image
Bruno Rodrigues

First, thanks for sharing @rachelsoderberg ;)

Just came down here to write the same, I consider commits as the good old video game checkpoints.

Every time you hit a "safe place" where you would like to go back in case of something goes wrong, add a commit with a very descriptive message.

Your "future myself" (and code reviewers) will thank you a lot.

Further reading: pauline-vos.nl/atomic-commits/

Collapse
dhintz89 profile image
Daniel Hintz

Love the analogy, I think of it the same way 😀