Writing Cleaner Commits - Template
Posted on 20 Nov, 2019
Writing cleaner commits is hard, so I use this template which makes me a pro 😅
OR
How ?
You have to configure Git to use the above template file (for example, .gitmessage
in your home directory), then create the template file by running.
This will invoke sublime with the template (use code
if you use VSCode) Now copy paste the above template, hit save and your are done.
Now when commiting changes instead of using git commit -m ""
, Use git commit
this will invoke the commit template which you already set.
Resources
Last updated