DEV Community

Discussion on: The Magic of Empty Git Commit

Collapse
 
pradumnasaraf profile image
Pradumna Saraf

Thank you. Yes, you should not be using it on the main branch and should only use it on PRs.

Collapse
 
orenc profile image
Chanan Oren

Possibly, one exception for the not-on main rule: empty initial commit on a new repo.

Some comments have been hidden by the post's author - find out more