Whether you are a novice in programming, or an expert in development, contributing to the open source projects on GitHub will help you learn more about good programming practices in a specific language, or about troubleshooting if you are not an expert in the language. Your contribution to Qit.hub projects will also contribute to building a good reputation on you and building good relationships with programmers interested in the same language. In this article, we'll walk you through how to contribute to the think-code-deliver project with a modification in your README.md file, and in conclusion, I'll share with you how to find projects that you need to contribute.
If you know what time is. Hub and Git, you can go to the first step directly, but if you do not know it, then Git is a program that helps you if you have a code and you modify it more than once, and you want the date of these changes saved because you You may need to revert to any version of it at any time, or you want to work on code with other programmers at the same time!
Qqt is used via the command prompt while qt.hp is considered the site or server that contains the interface for this program. All you need before you start is to have Guet.hb account and come down Guet on your machine.
First Step: Copy the project to your device
Click on the Fork button located in the top right corner of the project page.
You will then find an exact copy of the project on your Qat.Hub account, below the project name an explanation that it is a fork of DevExCodeHub / think-code-deliver.
On the same page, click on the Clone or download button to copy the link.
We will use the link to download the project files to the device, via the command prompt enter the following command:
git clone https://github.com/xnorax/think-code-deliver.git
The result will be similar to the pictured:
Go via the command prompt to the project folder with the following command:
cd think-code-deliver
Step two: make adjustments
Now open the project folder in your device and edit whatever you want. In the example, I modified the README file and added two illustrations.
After modification, you must make 3 commands.
git add .
Which would transfer all the modified files to the staging stage to save the changes. Then enter the second command, which will modify the local project version on your machine with a comment that you specify in quotation marks.
git commit -m "Update README.md and add photos"
Now it remains for us to upload these changes to the project file on the Qat.heb site, which is done through this command:
git push
You will find the project updated in your account with mentioning the comment you wrote with the previous command.
But remember! You are still working on the branched version in your account only.
Third Step: Upload the changes to the original project
To upload the changes to the original project file, you must upload a pull request to the project owner, via the button below the Clone or Download.
You will see the changes to review them, then press the Request Withdrawal button again.
Enter the title of the change and write a comment explaining what you have done, then click the Create Withdrawal Request button.
That's it, it remains for the entrepreneur to read and accept your request to see the change in the original project.
Projects need your contribution
You can search with these words to find projects that need beginners' contributions or simple contributions, and you can change the words according to your level and desire.
Finally, some projects require a specific way to contribute, and this article explains the simplest way to contribute, hoping that it will be sufficient for the start of the launch, but there are some practices that it is preferable to take into account in the future before requesting withdrawal, such as that each change in a different branch, and a withdrawal request for each Change-by-change, and other matters that are often specified in the project README file.
You have a project that you need shareholders in? Or have you ever participated in a project? Share your experience with us by comment.
read also :
Comments
Post a Comment