Thank you for your interest in contributing to Gitant! This document provides guidelines and instructions for contributing.
- Fork the repository
- Clone your fork
- Create a feature branch
- Make your changes
- Submit a pull request
- Go 1.26+
- Node.js 20+
- Git
cd gitant-daemon
make build
make test
make lintcd gitant-cli
make build
make testcd gitant-mcp
npm install
npm run build
npm testcd gitant-web
npm install
npm run dev- Follow standard Go conventions
- Run
gofmtbefore committing - Run
golangci-lintfor linting - Write tests for new features
- Use ESLint with the provided config
- Run
npm run lintbefore committing - Write tests for new features
Follow conventional commits:
feat: add new feature
fix: fix bug
docs: update documentation
test: add tests
refactor: refactor code
chore: update dependencies
- Update documentation if needed
- Add tests for new features
- Ensure all tests pass
- Ensure lint passes
- Request review from maintainers
- Use GitHub Issues
- Include reproduction steps
- Include system information
- Include logs if applicable
Please read CODE_OF_CONDUCT.md.
By contributing, you agree that your contributions will be licensed under the MIT License.