Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
May 16, 2021 04:40 am GMT

Zero to Hero: Get started with Open Source Projects

I had been super interested in contributing to Open Source Projects for a long time but didn't have any idea on how to get started. This article is for anyone who wants to get into Open Source Projects development but feels overwhelmed on how to start.

Prerequisite

You will need basic knowledge of git to follow along with this article. We will be focusing on Open Source Projects on GitHub, but the same skillset is transferable to any other git based site like GitLab.

Getting Started

  1. The first thing to do is Fork the repository you want to contribute to:

    Github Fork

    Now you have a copy of the repository in your GitHub account.

  2. Copy the clone link:

    GitHub Clone Link

  3. Execute the command:

      git clone <clone link>
  4. A copy of the repository will be created on your machine. Add Upstream remote, which is just a fancy name for the source repository, using:

      git remote add <upstream remote name> <source repository clone link>
  5. Now you can modify the code. Make sure to commit all the changes you make.

  6. After committing changes, you can update the source repository using:

      git push origin <branch name to push changes>
  7. Now you can create a Pull Request in the source repository and the maintainers would review and merge your code.

How to overcome the fear of starting?

Now that you know how to contribute to Open Source Projects, you might just want to jump right in and contribute to the largest projects on the planet. But I can assure you when you are about to open your first few Pull Request, Imposter Syndrome will hit you real hard with questions like "Would I be able to do this correctly?" and "What if I fail?". The only antidote to this fear is ACTION! If you are feeling unsure, contact the members of the organisation you want to contribute to, as most organisations use some platform like Discord to discuss about the contributions. One year ago I was exactly in your shoes, and now I do have a couple of contributions in some amazing repositories:

Git Contribution

If you start on this journey and keep putting one foot in front of the other even when challenges and difficulties show up, you will make it! Best of Luck :)

You Got This

Thanks for reading

Want to work together? Contact me on Upwork

Connect to me on:


Original Link: https://dev.to/ruppysuppy/zero-to-hero-get-started-with-open-source-10b7

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To