Within this documentation, you'll find a collection of instructions designed to assist you as you contribute. We're delighted to invite contributions from anyone interested in enhancing or introducing new scripts to this repository. Your assistance is greatly appreciated, and it's important to keep in mind that every contribution, regardless of size, is valued.
Below you will find the process and workflow used to review and merge your changes.
- Check out the current listed issue or raise your own issue.
- Once you're assigned a specific issue, you can start working on it.
- Remember: Any changes to this repository has to be linked to is respective issue.
- Fork the repository to make a copy of it on your own github profile. Make sure to have
upstream
as main.
$ git clone https://github.com/<your-username>/PythonScriptsHub
$ cd PythonScriptsHub
$ git remote add upstream https://github.com/Swapnil-Singh-99/PythonScriptsHub
Create a new branch. Use its name to identify the issue your addressing.
# It will create a new branch with name branch_name and switch to that branch
$ git checkout -b branch_name
- Work on the issue(s) assigned to you.
- Add all the files/folders needed.
- After you've made changes or made your contribution to the repository add changes to the branch you've just created:
# To add all new files to branch branch_name
$ git add .
- To commit give a message describing the changes made, for the convenience of reveiwer by:
# This message will appear with the changes you have made
$ git commit -m "message"
- Now you are ready to push your work to the remote repository.
- Once your work is ready and follows the Contributing Guidelines.
# To push your work to your remote repository
$ git push -u origin branch_name
-
Go to your repository in browser and click on compare and pull requests. Then add a title and description to your pull request that explains your contribution or the changes you have made.
-
Great job! Your Pull Request has been sent and the moderators will review it before merging it to main branch. 🎉
You can refer to the following articles on basics of Git and Github and also contact the Project Mentors, in case you are stuck:
- Fork a repo
- Creating an issue or pull request
- How to create a pull request in GitHub
- [Getting started with Git and GitHub](https://towardsdatascience.com/getting-started-with-git-and-github-6fcd0f2d4ac6
Your Contributions Make a Difference!
Every line of code, every idea shared, and every issue reported contributes to the growth of our repository. Your efforts bring life to this open-source community. Remember, no contribution is too small – each one is a step towards making something amazing. So, let your creativity flow and your code shine. Together, let's build something incredible!