Example
feat(login): add password enforcement rules
Add checks for password enforcement:
- must be longer than 5 chars
- must have uppercase letter
- must have lowercase letter
- must have number
- save
.git_commit_message_template.txt
to local machine~/
,HOME
, somewhere safe
- run
git config --global commit.template ~/.git-commit-template.txt
- this will use the template whenever
git commit
is called
- this will use the template whenever
- run
git config --global commit.cleanup strip
- this will prevent git from committing the template