Git commit format
Message format The message format follows the 50/72 rule: The characters of first line of the commit can not longer than 50, and the characters of other lines can not longer than 72. You can see the below format structure: <type>(<scope>): <subject> <body> <footer> Message subject Just like above-mentioned, the first line can not longer than 50 characters, and it consists of type, scope (optional) and subject message. Allowed type values Value Description feat Has new feature for end-user fix Has bug fix for end-user docs Change to the documentation, include the inside manual and outside manual. style Formatting, missing semicolons, etc., no production code change. refactor Refactoring production code, e.g., renaming a variable. test Adding missing tests, refactoring test, no production code change. chore Updating other tasks without production code change. e.g., add a new build script. What’s the scope The scope is used to describe: your change will impact which part of the system. ...