How to contribute and create a pull request

Are you confused about where to start contributing to issues which require you to create a pull request?? Initially, I was too (maybe even worse than most people :smiling_face_with_tear: :joy:) but well, after a lot of consultations and watching videos I finally understood the process.
Here’s a complete guide on how to contribute and create a pull request.

Step 1

Look for the github repository you want to contribute to and fork the repo on top of the page

Step 2

After forking, copy the code by clicking the code drop down
then click the copy and paste button next to the link.

Step 3

Clone the repository by opening your VS code terminal then code

git clone link

then cd the folder

cd forked-folder

Step 4

Change the branch by coding

git checkout -b name-to-your-branch 

Step 5

Make your changes.

  • Check where the issue is
  • Make your changes and save the changes

Step 6

Then you can run

git add .

Step 7

Then commit and remember the sign off denotation -s. Hence code;

git commit -s -m "add new commit"

Step 8

Then push to the branch you created earlier. Code

git push --set-upstream name-to-your-branch

Step 9

Go to github then click the button ‘compare and create pull request.’

You can do all that on the command line with the open source git. No need for proprietary software then.

Thank you so much for this @theprogram ,I’ll definitely try that

1 Like

VS Code operates under a dual-licensing structure. The underlying source code is hosted on GitHub as the “Code - OSS” project and is licensed under the MIT License.

The version you download from Microsoft’s official website is a proprietary distribution. Microsoft takes the MIT-licensed source, adds telemetry (which can be disabled in settings) along with other modifications, then releases it under a Microsoft Product License. This license restricts you from redistributing the official binary or using it in ways not expressly permitted by Microsoft.

If you want the full VS Code experience without the proprietary “extra bits”, VSCodium is the community-driven alternative. It functions identically to VS Code but has telemetry disabled by default and removes all Microsoft branding.

VS Code/Codium has excellent integrated Git functionality that can be useful not only for beginners, but also for experienced developers.

2 Likes

Excellent point. So I would recommend the VS Codium approach rather than the MS one.

2 Likes