Thank you for considering contributing to CodeAndBlog! We welcome your contributions to help make our blog even better.
Please take a moment to review the following guidelines to ensure a smooth and positive contribution process.
- Getting Started
- Find an Issue / Create an Issue
- Fork the Repository
- Clone the Repository
- Set Up the Development Environment
- Making Contributions
- Branching
- Writing Code
- Documentation
- Commit Messages
- Pushing Changes
- Testing
- Submitting Pull Requests
- Review Process
- Attribution
If you encounter any issues or have suggestions, please open an issue. Provide a clear and detailed description, along with any relevant information.
- Fork the repository.
- Create a new branch for your feature or bug fix:
git checkout -b feature/your-feature-nameorgit checkout -b bugfix/your-bug-fix. - Commit your changes:
git commit -m "Add your commit message here". - Push your branch to your fork:
git push origin feature/your-feature-nameorgit push origin bugfix/your-bug-fix. - Create a pull request on the
mainbranch of the original repository.
Follow the coding style and guidelines outlined in the project. If there are no specific guidelines, maintain consistency with the existing code.
Click the "Fork" button on the top right corner of this repository's page to create a copy of the project in your GitHub account. You'll be making your contributions in your forked repository.
Clone your forked repository to your local machine using the following command:
git clone https://github.com/SAGARSINGH-1/CodeAndBlog.gitInstall the project's dependencies:
npm installRun the project locally:
npm run devCreate a new branch for your feature or bug fix:
git checkout -b feature-nameMake your changes to the codebase. Please follow the coding conventions and standards used throughout the project. Make sure to write meaningful comments in your code.
Update the documentation if your changes impact the project's user or developer documentation.
This includes updating README files, code comments, or any other relevant documentation.
Please follow conventional commit messages for your commits. This helps in generating meaningful changelogs automatically.
You can use the following command to commit your changes:
git commit -m "fixes: #0000"Before pushing your changes, make sure to pull the latest changes from the main repository's main branch:
git pull origin mainPush your changes to your forked repository:
git push origin feature-nameWe don't have any tests yet. Please check your code manually before submitting a PR.
When you're ready to submit your changes, create a pull request (PR) from your feature branch to the main repository's main branch. Be sure to include a clear and descriptive title and a detailed description of your changes.
Once you've submitted a PR, maintainers and contributors will review your code, provide feedback, and request changes if necessary. Be prepared to address these comments and make necessary revisions.
Contributors will be credited for their contributions in the project's documentation. Thank you for your valuable contributions to the Quiz App!
Note: This CONTRIBUTING.md file is a guideline. The project maintainers may have specific requirements or procedures that override these general instructions. Always refer to the project's own CONTRIBUTING.md if it exists.
Thank you for contributing! 🙌