Programming
How to Commit Gracefully on Git and Auto-generate the Changelog
Have you ever complained at work about other people's messy commits — no note on why or what each commit did? When contributing to open-source projects on GitHub, if your commit doesn't follow their template, your merge request won't be accepted. Messy commits not only affect others; at release time the changelog should be auto-generated, but commits not written per the rules can't be tallied automatically. So today I'll write about how to commit gracefully on Git and auto-generate the changelog. This article only focuses on the posture of committing; the commit command and other topics are not discussed for now.
ProgrammingDevelopmentCodeGitHubGit