Welcome to our repository! If you're looking to contribute, you're in the right place. This document provides a comprehensive guide on how to contribute to our project, including explanations of key concepts like Pull Requests (PRs) and code reviews, as well as a step-by-step process for making contributions.
A Pull Request is a method used in version control systems to introduce changes to the repository. After you make changes in a branch of your fork, you can issue a PR. This is essentially a request to the repository maintainers to pull your changes into the official project. PRs are a pivotal component of collaborative development, allowing for discussion and review of code before it integrates into the main codebase.
A code review is a part of the PR process where other contributors and maintainers review your code. This practice ensures quality and consistency in the codebase and is a perfect opportunity to get feedback on your coding decisions. Code reviews help catch bugs, ensure best practices, and maintain the overall health of the codebase.
Follow these steps to contribute to our project:
Start by forking the repository. This creates a copy of the repo under your GitHub account, which is your private workspace where you can make changes without affecting the original project.
- Clone your fork to your local machine:
git clone https://github.com/your-username/repository-name.git
- Navigate into the cloned directory::
cd repository-name
- Create a new branch for your feature::
git checkout -b feature-branch-name
Make the required changes in your feature branch. If you have your development environment setup properly, eslint will run and ensure your code passes all rules before your commits are accepted.
- Push your changes to your fork::
git push origin feature-branch-name
- Go to your fork on GitHub and click "New Pull Request".
- Set the base repository's sandbox branch as the base branch and your feature branch as the compare branch.
- Fill in the details of the pull request and submit it.
Once your PR is submitted, it will be reviewed by our Team. Participate in the discussion and make any required changes. Once your PR is approved, it will be merged into the sandbox branch for further integration testing before it becomes part of the main project.
Thank you for contributing to our project! Your efforts help us build and refine a product that meets the needs of our community.