###Some rules of thumb for proper commit messages:
-
Separate subject from body with a blank line
-
Limit the subject line to 50 characters
-
Capitalize the subject line
-
Do not end the subject line with a period
-
Use the imperative mood in the subject line If applied, this commit will
fixed bug with Y
vs. If applied, this commit willrefactor subsystem X for readability
-
Wrap the body at 72 characters:
add line to ~/.vimrc autocmd Filetype gitcommit setlocal spell textwidth=72
-
Use the body to explain what and why vs. how