We welcome contributions to the project! To make the contribution process as smooth as possible, please follow these guidelines when contributing.
To contribute to the project, you first need to create your own copy of the repository by forking it.
- Navigate to the GitHub repository page.
- Click the "Fork" button at the top right of the page.
Once you've forked the repository, clone it to your local machine to make changes.
git clone https://github.com/bozaci/awesome-semantic-commit.git
Create a new branch to work on your feature or fix. This keeps your changes separate from the main branch.
git checkout -b feature/your-feature-name
Make your changes locally. Ensure that you follow the coding conventions and best practices of the project.
If your changes introduce new features, or fix a bug, ensure that you write tests for your changes.
Once you've made your changes, stage them and create a commit with a clear, concise message.
git add .
git commit -m "feature(feature-name): your-commit-subject"
Make sure you follow the semantic commit rules.
Push your changes to your forked repository.
git push origin feature/your-feature-name
After pushing your changes, go to the repository and create a pull request from your branch to the main repository. Provide a detailed description of your changes and any relevant information.
When submitting a pull request, ensure the following:
- Descriptive pull request: Provide a clear description of what your pull request does, why it's needed, and what problem it solves.
- Referencing issues: If your pull request addresses an existing issue, mention the issue number in the PR description (e.g.,
Fixes #123
). - Code quality: Ensure that your code follows the project's coding standards. This includes proper indentation, variable naming, and documentation.
- Tests: If you've added new features or fixed bugs, ensure that relevant tests are in place and pass.
To maintain consistency, please follow these coding standards:
- Indentation: Use 2 spaces for indentation.
- Variable naming: Use camelCase for variables and functions.
- Comments: Add comments where necessary, especially for complex logic.
- No hardcoding: Avoid hardcoding values like API endpoints or credentials. Use environment variables instead.
If you encounter a bug, please follow these steps:
- Search existing issues: Check if the bug has already been reported or fixed.
- Provide detailed information: When reporting the bug, provide details like:
- Steps to reproduce the bug
- Expected vs actual behavior
- Screenshots or error messages, if applicable
- Your environment (e.g., browser, operating system)
By contributing to this project, you agree to abide by our Code of Conduct. Please be respectful, considerate, and inclusive in your interactions with the community.
By contributing to this project, you agree that your contributions will be licensed under the project's open source license. Please review the LICENSE.md for more details.
Thank you for contributing to this project! We appreciate your time and effort in making the project better.