How to use git commit template

 

  • 1.put the file under %userprofile%

.git_commit_template.txt

       [Fix] [Refactor] [Reformat]

  • 2. git config --global commit.template ~/.git_commit_template.txt

 

references:

https://github.com/joelparkerhenderson/git_commit_template

https://www.conventionalcommits.org/en/v1.0.0/#summary

posted @ 2020-05-08 16:39  ChuckLu  阅读(216)  评论(0)    收藏  举报