Przejdลบ do treล›ci

๐Ÿ“ Commit Templates

Commit templates enforce consistent commit messages across a team.


๐ŸŽ“ Who This Is For

  • Beginners learning commit structure
  • Intermediate users improving commit quality
  • Advanced engineers enforcing standards
  • DevOps teams maintaining clean history

๐Ÿ”ง Enable Template

1
git config --global commit.template ~/.git-commit-template.txt

๐Ÿงฉ Example Template

1
2
3
4
5
Summary (max 72 chars):

Details:

Issue/Task:

1
2
3
4
feat: add user registration
fix: correct null reference in login
docs: update API documentation
refactor: simplify service layer