Version Control Policy
Version Control Policy
Branching Model
This project follows the Git Flow branching model with the following branches:
Main Branches
main- Production-ready codedevelop- Latest development changes
Supporting Branches
feature/*- New featuresbugfix/*- Bug fixeshotfix/*- Critical fixes for productionrelease/*- Release preparation
Commit Rules
Commit Message Format
<type>(<scope>): <subject>
<body>
<footer>Types
feat: New featurefix: Bug fixdocs: Documentation changesstyle: Code style changesrefactor: Code refactoringtest: Test additions/modificationschore: Maintenance tasks
Guidelines
- Use imperative mood (“Add feature” not “Added feature”)
- Keep subject line under 50 characters
- Provide detailed body for complex changes
- Reference issue numbers when applicable
Pull Request Process
- Create feature branch from
develop - Make commits with clear messages
- Push branch and create pull request
- Ensure CI/CD passes
- Get code review approval
- Merge using squash or rebase strategy
Code Review Guidelines
- Review for functionality and code quality
- Check test coverage
- Ensure documentation is updated
- Verify security best practices