logoalt Hacker News

arialdomartini • today at 6:48 PM • 2 replies • view on HN

On top of this, it pays off to write the commit messages before the code

https://arialdomartini.github.io/pre-emptive-commit-comments


Replies

drdaeman • today at 6:59 PM

Jujutsu is perfect for that - you create new changeset upfront, providing message at the same time (which can be later amended as needed). Feels so much more logical to declare the topic first, rather than come back to some accidentally uncommitted changes and wonder what was doing there.

➕ show 4 replies
Sarkie • today at 7:11 PM

BDD. Absolutely changed my world

➕ show 1 reply