chore: add git configuration

Add .gitignore for common patterns and .gitmessage for commit template
This commit is contained in:
imfozilbek
2025-11-23 21:19:12 +05:00
parent b6b8ac69d7
commit f7bad59b94
2 changed files with 121 additions and 0 deletions

33
.gitmessage Normal file
View File

@@ -0,0 +1,33 @@
# <type>: <subject>
#
# <body>
#
# <footer>
# Type should be one of the following:
# * feat: A new feature
# * fix: A bug fix
# * docs: Documentation only changes
# * style: Changes that do not affect the meaning of the code (formatting, etc)
# * refactor: A code change that neither fixes a bug nor adds a feature
# * perf: A code change that improves performance
# * test: Adding missing tests or correcting existing tests
# * build: Changes that affect the build system or dependencies
# * ci: Changes to CI configuration files and scripts
# * chore: Other changes that don't modify src or test files
# * revert: Reverts a previous commit
#
# Subject line rules:
# - Use imperative mood ("add feature" not "added feature")
# - Don't capitalize first letter
# - No period at the end
# - Limit to 50 characters
#
# Body (optional):
# - Explain what and why (not how)
# - Wrap at 72 characters
# - Separate from subject with blank line
#
# Footer (optional):
# - Reference issues: "Fixes #123" or "Closes #123"
# - Breaking changes: "BREAKING CHANGE: description"