October 2016
Beginner
861 pages
20h 37m
English
In this chapter, we have been using dynamic templates, but Git also has the option of a static commit template, which essentially is just a text file configured as a template. Using the template is very easy and straightforward.
First of all, we need a template. This has to be a text file whose location you should know. Create a file with the following content:
#subject no more than 74 characters please #BugFix id in the following formats #artf [123456] #PCP [AN12354365478] #Bug: 123456 #Descriptive text about what you have done #Also why you have chosen to do in that way as #this will make it easier for reviewers and other #developers.
This is my take on a simple commit message template. You ...