OSS-Contribution π₯
Learn how to contribute to open-source projects. π
You'll learn the git workflow required to contribute to open-source projects. β‘
For git basics & tips & tricks - click me! π±οΈ
π Go to the end of the file to see who contributed! π
WHAT ARE YOU GOING TO LEARN
- The git workflow required for working on open-source projects
- Working in a team
WHAT ARE YOU NOT GOING TO LEARN
- How to use git
- How to code
STEP 1 - FORK THIS REPOSITORY π΄
Fork this repository by clicking on the fork button.
When you fork a repository, you simply create a copy the repo on your account.
STEP 2 - CLONE THE REPO ποΈ
The next step is to clone the repository to your machine, so you can make changes.
To do so, go into the repo you just forked into your account, then click the button called Clone or download.
Copy the link, and run this in your terminal:
git clone <the-url-you-just-copied>
In my case, it would be:
git clone https://github.com/catalinpit/OSS-Contribution.git
In your case, you would replace catalinpit with your username.
STEP 3 - CREATE A BRANCH π²
First of all, open the repository in your editor.
Then, create a branch as follows:
git checkout -b <enter-your-branch-name>
An example would be:
git checkout -b "Added_My_Name_To_README"
The name of your branch should be short and descriptive. The branch above is just an example, but it can be called however you want.
It should describe the purpose of your changes though. I chose that name because I added my name to the README (what you'll do as well).
STEP 4 - MAKE YOUR CHANGES βοΈ
- Open the file called
README.md
- Find the CONTRIBUTORS section.
-
Add your name RANDOMLY in the list to avoid merge conflicts
Once you have added your name and Twitter handle, run in your terminal:
-
git add README.md
(it represents the file where you made the change) -
git commit -m "Added my name and twitter handle"
(this represent the message that explains what you did) -
git push origin <your-branch-name>
(push your changes to Github)
STEP 5 - OPEN A PULL REQUEST (PR) π
The purpose of a pull request is to show to other developers the changes you did.
Also, they review your code to make sure your code is optimal.
- Once you pushed your changes to Github, go to the repo and click on
Compare & pull request
.
- Add a descriptive title and description
-
Click on
Create pull request
. -
Wait for me to merge your changes to the master change. They will become live once I merge them.
Congratulations! This is the required Git workflow to contribute to open source projects.
EXTRA TIPS
Go over my repos, and if you see any typos & programming bugs/errors, open a PR. π₯³
CONTRIBUTORS π§βπ€βπ§
Add your name and Twitter handle. π¦
- Catalin Pit ππ‘ => Twitter: @catalinmpit π¦
- Max Diamond π€π => Twitter: @dmdboi π¦
- Collins Cheruiyot π»π‘ => Twitter: @cherucole βοΈ
- Eddy Vinck ππ‘ => Twitter: @veinq_ π¦
- Oteri Eyenike ππ‘ => Twitter: @codeg0d π¦
- Danny Wolff ππ‘ => Twitter: @Inshi78946780 π¦
- Minerva Long ππ‘ => Twitter: @vanesa_minerva π¦
- Benjamin Kinga ππ‘ => Twitter: @benjaminkinga1 π¦
- Samson Samuel ππ‘ => Twitter: @torsami77 π¦
- Mahesh Jamdade ππ‘ => Twitter: @maheshmnj π
- Kenny John Jacobππ‘ => Twitter: @johnjacobkenny π₯
- Waheed Afolabi ππ‘ => Twitter: @checkwithwaheed π¦
- Milos Rancic ππ‘ => Twitter: @milos_rancic π¦
- Stefanie Davis ππ‘ => Twitter:@steflikecurry βπΎ
- Tharun Reddy ππ‘=> Twitter: @tharunπ¦
- Lawrence Narh-Lawson ππ‘ => Twitter: @NarhLawson π¦
- Ishaan Sheikh ππ‘=> Twitter: @imishaan005π¦
- Omolewa Stephen ππ‘=> Twitter: @theslimsteveπ¦
- Cory Runnells ππ‘=> Twitter: @XRayBoundπ¦
- Wasif Baliyan ππ‘=> Twitter: @wasifbaliyan
- Saif Ullah Sajid ππ‘ => Twitter: @saifcodes π¦
- Matthew Terrill => Twitter: @meterrillπ¦
- Dowen Robinson ππ‘ => Twitter @yuhmaddaπ¦
- Fumi Adeyemi ππ‘ => Twitter @fumiadeyemiπ¦
- Tolulope Adetula ππ‘ => Twitter @_tolu_lopeπ¦
- Raviq Lahadi π₯π‘ => Twitter: @raviqlahadi πΈ
- Stefan Natter ππ‘ => Twitter @natterstefanπ¦
- Christina Meador ππ‘ => Twitter @ChristinaM_Devπ¦
- Jeremy Nikolic ππ‘ => Twitter @jeremy__nikolicπ
- Kabir Nazir ππ‘ => Twitter: @kabir4691 π¦
- Vasantha Kumar ππ‘ => Twitter: @Vasantha_KumarJ
- Tony Phan ππ‘ => Twitter: @rallysport206 π¦
- JerΓ³nimo CosiΓo ππ‘ => Twitter: @jerocosio π¦
- Oluwapelumi Amuzu ππ‘ => Twitter: @livingArete π¦
- Siim MΓ€nnart ππ‘=> Twitter: @siim π₯
- Alexandra Caulea ππ‘ => Twitter: @alexandracaulea π¦
- Philippus Schindler ππ‘ => Twitter: @phil_on91π
- Sobhy => Twitter: @ThisIsSobhy
- Cynthia Spence => Twitter: @Cynthia47337663
- Unai => ππ‘ => Twitter: @unaizuluaga π¦
- Astrit Malsija => Twitter: @astritmalsija
- Mateusz Wszola ππ‘=> Twitter: @MateuszWszola π
- Himanshu Jain ππ‘=> Twitter: @being_himan π¨βπ»
- Nichola ππ‘ => Twitter: @nichola___ πΈ
- Alin Pisica π₯π‘ => Twitter: @AlinP25 πΈ
- Tochukwu Ali ππ‘ => Twitter: @tochukwuali3 π
- Marco Beier π₯π‘ => Twitter: @Wridgeu πΈ
- Ineza BontΓ© ππ‘ => Twitter:@inezabonteπ
- Hendry Khoza ππ‘ => Twitter:@henkhodryzaπ¦
- Kaya Chou-Kudu π₯π‘ => Twitter: @Kaya_Mooon πΈ