Skip to content

Latest commit

 

History

History
100 lines (58 loc) · 3.2 KB

README.md

File metadata and controls

100 lines (58 loc) · 3.2 KB

My First Open Source Contribution

Find the project website here : https://jwalapc.github.io/firstcontribution/
Make your own contribution and add your name here !!

Hi there, let me walk you on how you can make your first Open-Source Contribution using this very project.

How to contribute in this project ?

Step 1: Fork this project

Fork the repository by clicking the fork button on the top of the page. This will create an instance of this repository in your account.

This instance will be an exact copy where you can chance and edit the project as per your choice!


Step 2: Make changes

Once the repository is in your account, you can either make changes/edit to the project directly via GitHub GUI aur choose a text editor of your choice. Using a editor is recommended.

If you are using GitHub GUI to make changes skip to step 6 and then 8


Step 3: Download Git, VScode and set it up

As we are using VScode editor for editing the code, download the following.
Git : https://git-scm.com/downloads
VScode : https://code.visualstudio.com/download
Video on how to set it up : https://www.youtube.com/watch?v=6cB0tB-nrB0


Step 4: Clone the repository

To edit it in an editor, clone it to your machine to work with it locally.

To clone, click on the code button and copy the link. Now find the steps to open this in your editor of choice via Google and make the necessary edits!


Step 5: Open Vscode and paste the clone link

Open your VScode and press ctrl+shift+p to open command pallet and choose git clone command, now paste the link that you copied from the github repo and choose a folder to store this repo.


Step 6: Edit the project

Once you are done, open the project and navigate to contributorList.js file under Scripts folder

Copy the below text and replace data with your github profile link and your name, add as shown in the image below

    {
        "github": "Your github profile link here",
        "name": "Your name here"
    },


Step 7: Save and Push the changes

Save the changes by pressing ctrl+s.

Then click on the git button in your vscode > click on add changes > write a commit message > click the click icon on top to commit the changes >click the 3 dots option button > then click push.

Now click push.

with this you made the changes and pushed it to your forked online repository of this project.


Step 8: Make a pull request

Now that all the changes that you have made is available in your forked :

Click contribute

Click Create pull request

Add meaningful request message denoting your changes and then click Create pull request

With this you have successfully made your first contribution in an Open-Source projects!!!