1. Write the summary line and description of what you have done in the imperative mode, that is as if you were commanding someone. Write "fix", "add", "change" instead of "fixed", "added", "changed".
-
fix
-
remove
-
update
-
refactor
-
add
* bafaeac TJ Holowaychuk — add mixin property array support * e9df63a TJ Holowaychuk — remove opacity plugin. Closes #29 * c5b1e85 TJ Holowaychuk — remove media macros. Closes #36
3.Line break the commit message (to make the commit message readable without having to scroll horizontally in gitk).
Nothing too special here, I typically just use the same convention as commit messages for branches like “add/my-feature”, “remove/old-feature”, “fix/crazy-bug”.