DEV Community


Discussion on: A guide on commit messages

patarapolw profile image
Pacharapol Withayasakpunt • Edited

I wonder if it is safe, if it is ever done, to rename a commit message? --

One more wonder, is, how often should I commit?

yvonnickfrin profile image
🦁 Yvonnick FRIN Author

It depends if someone or something depend on this commit identifier. Amending a commit and push force it will change the commit identifier.

In my opinion you should commit as often as possible. It will help you split your code 👌 Keep in mind you must commit only working things. The first four points in the following article describe well what is a good commit 👍