This document will guide you through the process of contributing to our repository. We value the time and effort of our contributors, and we strive to create an inclusive and collaborative community. We are happy to welcome all the contributions from anyone willing to improve/add new scripts to this project. Thank you for helping out and remember, no contribution is too small.
- 📏 Code of Conduct
- 🤝 How to Contribute
- 🎨 Style Guides
- 🚀 Getting Started
- 📚 Additional Resources
- 📈 Development Workflow
- 🚩 Issue Report Process
- 🤔 Need Help regarding some basics?
- 🚀 Pull Request Process
- 🤝 Community Guidelines
- 📑 Documentation
- ✅ Code Reviews
- 🚀 Feature Requests
- ☘️ Spread the Word
Please note we have a code of conduct please follow it in all your interactions with the project.
If you find a bug, please create an issue using the Bug Report Template. Be sure to include detailed information such as the steps to reproduce the bug, the expected outcome, and the actual outcome.
Have a great idea for a new feature? We'd love to hear it! Open an issue using the Feature Request Template and describe your enhancement in detail.
We welcome pull requests for bug fixes, features, and documentation improvements. To ensure your pull request is reviewed promptly, please adhere to the following guidelines:
- Fork the repository and create a new branch for your work.
- Follow the Style Guides.
- Ensure your code is well-documented and includes tests.
- Reference any related issues in your pull request description.
- Use the present tense ("Add feature" not "Added feature").
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...").
- Limit the first line to 72 characters or less.
- Reference issues and pull requests liberally.
- Use meaningful variable and function names.
- Write comments and documentation where necessary.
We welcome contributions! To contribute to this project, follow these detailed steps:
- Navigate to the main repository.
- Click on the "Fork" button in the upper right corner of the repository page. This will create a copy of the repository in your GitHub account.
- Clone your forked repository to your local machine using the following command:
git clone https://github.com/<your-username>/prithwe.git
- Replace
<your-username>
with your GitHub username andprithwe
with the name of the repository you just forked.
- Navigate into the cloned repository:
cd prithwe
- Create a new branch for your feature or bug fix:
git checkout -b <branch-name>
- Replace
<branch-name>
with a descriptive name for your branch, such asfeature/add-new-feature
orbugfix/fix-issue
.
- Implement your changes in the new branch you created.
- Ensure that your code follows the project's coding standards and guidelines.
- Test your changes thoroughly to ensure they work as expected.
- Stage your changes for commit:
git add .
- Commit your changes with a descriptive commit message:
git commit -m "Add detailed description of what your commit does"
- Provide a clear and concise commit message that explains what changes you have made and why.
- Push your changes to the branch in your forked repository:
git push origin <branch-name>
- Go to your forked repository on GitHub.
- Click on the "Compare & pull request" button for the branch you just pushed.
- Provide a descriptive title and detailed description for your pull request.
- Explain what changes you have made, why you made them, and any other relevant information.
- Submit the pull request to the main repository.
- Your pull request will be reviewed by the maintainers of the project.
- Be responsive to any feedback or questions they may have.
- Make any necessary changes as requested by the maintainers.
- Once your pull request is approved, it will be merged into the main repository.
- Congratulations! You have successfully contributed to the project.
-
Open GitHub Desktop: Launch GitHub Desktop and log in to your GitHub account if you haven't already.
-
Clone the Repository:
- If you haven't cloned the PrithWe repository yet, you can do so by clicking on the "File" menu and selecting "Clone Repository."
- Choose the PrithWe repository from the list of repositories on GitHub and clone it to your local machine.
-
Switch to the Correct Branch:
- Ensure you are on the branch that you want to submit a pull request for.
- If you need to switch branches, you can do so by clicking on the "Current Branch" dropdown menu and selecting the desired branch.
-
Make Changes: Make your changes to the code or files in the repository using your preferred code editor.
-
Commit Changes:
- In GitHub Desktop, you'll see a list of the files you've changed. Check the box next to each file you want to include in the commit.
- Enter a summary and description for your changes in the "Summary" and "Description" fields, respectively. Click the "Commit to " button to commit your changes to the local branch.
-
Push Changes to GitHub: After committing your changes, click the "Push origin" button in the top right corner of GitHub Desktop to push your changes to your forked repository on GitHub.
-
Create a Pull Request:
- Go to the GitHub website and navigate to your fork of the PrithWe repository.
- You should see a button to "Compare & pull request" between your fork and the original repository. Click on it.
-
Review and Submit:
- On the pull request page, review your changes and add any additional information, such as a title and description, that you want to include with your pull request.
- Once you're satisfied, click the "Create pull request" button to submit your pull request.
-
Wait for Review: Your pull request will now be available for review by the project maintainers. They may provide feedback or ask for changes before merging your pull request into the main branch of the PrithWe repository.
When working on the project, please follow these guidelines:
- Always work on a new branch for each separate issue or feature.
- Keep your branch up to date with the main repository's
master
branch. - Write clear and descriptive commit messages.
- Test your changes thoroughly before submitting a pull request.
- Keep discussions polite and respectful.
- Go to the project's issues.
- Select the template that better fits your issue.
- Give proper description for the issues.
- Don't spam to get the assignment of the issue.
- Wait for till someone is looking into it !.
- Start working on issue only after its assigned to you.
- Don't create a duplicate issue.
- Check the issues first before making a new issue to avoid duplicate issues.
You can refer to the following articles on basics of Git and Github and also contact the Project Mentors, in case you are stuck:
- Forking a Repo
- Cloning a Repo
- How to create a Pull Request
- Getting started with Git and GitHub
- Learn GitHub from Scratch
- Ensure that you have self reviewed your code.
- Make sure you have added the proper description for the functionality of the code.
- I have commented my code, particularly in hard-to-understand areas.
- Add screenshot it help in review.
- Submit your PR by giving the necesarry information in PR template and hang tight we will review it really soon.
We expect all contributors to adhere to the following community guidelines:
- Be respectful and considerate towards others.
- Use inclusive language and promote a welcoming environment.
- Avoid personal attacks, harassment, or discrimination.
- Keep discussions on-topic and constructive.
- Help others and contribute positively to the community.
- Document any significant changes or additions to the codebase.
- Provide clear and concise explanations of the functionality, usage, and any relevant considerations.
- Be open to feedback and constructive criticism from other contributors.
- Participate in code reviews by reviewing and providing feedback.
- Suggest new features or improvements that you believe would enhance the project.
- Share your experience and the project with others.
- Spread the word about the project on social media, developer forums, or any relevant community platforms.
- Thank you for your valuable contribution and for being a part of the Clueless Community! Together, we can make a difference. 🚀
Thank you for contributing to PrithWe! Your efforts help us make a positive impact on environmental awareness and action.