Skip to main content

Command Palette

Search for a command to run...

How to Contribute to an Open Source?

Updated
4 min read
How to Contribute to an Open Source?
R

RanaWat.Tech is a group of passionate designers and front-end developers of mobile and web applications. We are on a path to provide a nurturing environment for future developers and designers who are competent enough to learn and deliver great user experiences. We work in 7+ programming languages and various front-end frameworks to create our projects and provide effective & efficient solutions.

ranawat.tech is a new-born start-up ecosystem which functions in different ways.

ranawat.tech is growing into a community of smart, dedicated & highly skilled developers, UI/UX designers often referred to as the contributers. They are the growth engines of ranawat.tech.

ranawat.tech evaluates it's contributers on month-by-month basis. ranawat.tech's value contributers are rewarded with goodies and swags.

The contributers can sell & promote their own ready-made projects & designs on our platform at zero-commission costs.

Besides that RWT also works on custom on-demand projects in accordance with the customer requirements. So if you are really excited to work & contribute on a industry-level real time project than it's the perfect for you to start.

So, what you are waiting for? Join Now & start contributing!!

Also follow us on our social media platforms for such exciting opportunities and services.

Have a great day!! 😀😀 #Team@ranawat.tech

Are you a beginner to Open Source?

Doesn’t have an idea for the buzz words PR, issue, commit, push, pull if so check this blog and learn how to contribute to an open-source.

What is an Open Source?

An Open source is a platform where many people from all over the world work on a project. When a project is open-source, anybody is free to use, study, change, and distribute your project for any purpose. E.g. Linux is an Open-source.

Why Open Source?

Contributing to open source can be an awarding way to learn, teach, and build experience in any domain. https://ranawattech.hashnode.dev/how-to-contribute-to-an-open-source

Why do people contribute to an Open Source project?

  • Brush up on existing skills
  • Get to work on real-world projects
  • Meet various people and collaborate

How to publish an issue?

Annotation 2021-12-06 203640.png

By clicking the issue you will be navigated to the page where you can see a button called new issue

Annotation 2021-12-06 204527.png

Click the New issue you will be navigated to a comment box at that box, comment what you like to change in the repository, and submit the issue, once they accept the issue given by you they will assign you to contribute to the project.

Annotation 2021-12-06 204937.png

Contribution:

Now after they assign, you can start contributing check the following workflow to complete your first contribution. 👇🏻

Step 1: Haven’t you installed Git?

Install now.

Step2: Fork this repository

It is done by clicking on the fork button on the top right of the page. This will create a new copy of this repository in your account.

Annotation 2021-12-06 235755.png

Step3: Clone repository

You can clone the repository by clicking the drop-down button and copying the URL

Annotation 2021-12-06 233515.png

git clone "copied URL"

For e.g.

git clone "https://github.com/RanawatTech/Android_Frontend_Java.git"

Here, Android_Frontend_Java is the name of the original repository now it is locally cloned to your device.

cd Android_Frontend_Java

The Android_Frontend_Java is your folder name. Now create a branch using the git checkout command:

git checkout -b add "branch name"

E.g.

git checkout -b new_branch

Here the new branch is the name of the branch you can give any name it is up to you.

Step 4: Commit

Now, you can make necessary changes, e.g. You can create a folder called Blog/README.md and insert some text, code and save the file, Now move back to the terminal and give the command

git status

Now, it lists out the changes you have made.

git add

This command helps to add all the changes you have made

git commit -m "first commit"

This command helps you to commit all the changes you have made to the file, It is not necessary you should name it as the first commit you can also name it as

git commit -m "new_branch - readme"

The new branch represents your branch name and the readme is the name of your file.

Step 5: Push Changes

Until now the changes have not been added to the GitHub repository,

git push -u origin <add-your-branch-name>

E.g.

git push -u origin new_branch

Step 6: Submit your changes for review

This is the step where you inform the owner of the repo to accept the changes, which is called PR - Pull request, After pushing the changes move to your cloned repo and refresh the page

//img

Click the compare and pull request and you'll be moving to the comment section

//img

Now comment on your changes e.g. I had fixed the readme file and clicked the create a pull request. Soon when the owner merges all your changes into the master or main branch of the project. You will get a notification email once the changes have been merged.

Bravo! You completed the standard workflow issue ->fork -> clone -> edit -> pull request, Now you can start contributing to open-source projects.

L
Lakshya4y ago

Good work guys ☺️

1
S

Nice one :)

1
A
Arvind4y ago

I'm looking forward to contribute in this open source project.

1
R

Thanks broo. That's really helpful.

1

More from this blog

How to Contribute to an Open Source?

7 posts