-
You will first need git which you can download from here.
-
Now head here and click on the
fork
button. -
On the next page you will see a
create fork
button, press it. -
You will land on your forked repo page, here you will see a
<> Code
button marked in green, click on it and copy the url. -
Open your terminal and type git clone and press enter.
-
Now you will see a folder named
Welcome-to-Open-Source
, open it and edit theREADME.md
file using any text editor, VScode for example. -
Below is a code snippet for reference as to what has to ADDED in the file. Inside the
<b> </b>
tag you have to put your name, in the<href >
tag, you have to place your github profile URL. And lastly you have to place your github profile photo url inside thesrc
tag.<td align="center"> <a href="https://alisolanki.com/"> <img src="https://avatars.githubusercontent.com/u/55312000?v=4" width="100px;" alt="Ali Solanki"/> <br /> <sub><b>Ali Solanki</b></sub> </a> </td> <td align="center"> <a href="https://github.com/neeraj500"> <img src="https://avatars.githubusercontent.com/u/81459147?v=4" width="100px;" alt="Neeraj Madake"/> <br /> <sub><b>Neeraj Madake </a> </td>
-
Now save your changes and exit the editor, type
git add .
, afterwardsgit commit -m "<your name> 🍉"
and lastlygit push origin master
. -
Go to your forked repo page,
sync
your fork and then there you will see a button in green which saysOpen pull request
, press it and in the comments section type "Adding my name to contributer list" and press oncreate pull request
. -
You have created a pull request, wait for a member to review and merge it : )
Lastly, GitHub/Git are vital in open-source contributions, to learn more about them check this blog here.