How to Write a Git Commit Message
We think that covers pretty much everything about how and why good commit message matters. just keep in mind that commit message should be sort and on the point.
-
WIP
- when the commit is for anything that is work in progress. for example.WIP - orientation bug
WIP - fix crash on windows
this means that that commit is not a fix in itself but will be followed up by another commits and it is just a part of group of commits that have a meaning.
-
Fix
- when you fix something for exampleFix- orientation bug
but keep in mind, that commit is final commit for that fix. you can useWIP
for WIP commits,
-
Added
- when something is added. for exampleAdded .gitignore
Added .editorconfig
-
Updated
- when you update something. for exampleupdated .gitignore
updated .editorconfig
updated is used when you update any existing stuff.
-
Removed
- when you remove something. for exampleremoved outdated config. files
-
Chore
- when you do a routine or repeted taskChore - updated build config
Chore - bumped version number