Skip to main content

Command Palette

Search for a command to run...

๐Ÿ”ฅMake Your First PR๐Ÿง‘โ€๐Ÿ’ป Open Source

Easy Guide For Beginner ๐Ÿ’ฏ

Published
โ€ข3 min read
๐Ÿ”ฅMake Your First PR๐Ÿง‘โ€๐Ÿ’ป  Open Source

Hey! Folks Hope you are doing great.

So this Guide will be Easy and for Beginner And I will try to Cover Basic Steps Only! Hope You Enjoy and Learn Some thing New!

Grab your Coffee or Whatever you Want.

Chalye Suru Karte hin๐Ÿ˜„! (Let's Start )

First You Need to Find Project On Which you Want to Work!

After Selecting your Project You just Need to Follow These Steps

Step 01: Read Readme File

๐Ÿ‘‰ Every Project have these Documentation Best Advice to Read them Carefully

๐Ÿ‘‰ File you Need to Read

  • Code of Conduct: document that establishes expectations for behavior for your project's participants
  • Contribution Guidelines: This documentation contains a set of guidelines to help you during the contribution process.

Step 02: Find An Issue

  • Take a look at the Existing Issues or create your own Issues!
  • Wait for the Issue to be assigned to you after which you can start working on it.
  • Note : Every change in this project should/must have an associated issue.

Issue-git.jpg

Step 3 : Fork the Project

  • Fork this Repository. This will create a Local Copy of this Repository on your Github Profile. Keep a reference to the original project in upstream remote.

Fork-git.jpg

After Forked in your Repo It will look Like This

Forked-git.jpg

Follow these your Git Bash or Terminal

$ git clone https://github.com/<your-username>/project name 
$ cd Project Name 
$ git remote add upstream original project URL

Step 4 : Branch

  • Create a new branch. Use its name to identify the issue your addressing.
# It will create a new branch with name Branch_Name and switch to that branch 
$ git checkout -b branch_name

Step 5 : Work on the issue assigned

  • Work on the issue(s) assigned to you.
  • Add all the files/folders needed.
  • After you've made changes or made your contribution to the project add changes to the branch
# To add all new files to branch Branch_Name
$ git add .

Step 6 : Commit

  • To commit give a descriptive message for the convenience of Maintainer by:
# This message get associated with all files you have changed
$ git commit -m "message"
  • NOTE: A PR should have only one commit. Multiple commits should be squashed (Google this Term) .

Step 7 : Push Your Changes

  • Now you are ready to your work to the remote repository.
  • When your work is ready and complies with the project conventions, upload your changes to your fork:
# To push your work to your remote repository
$ git push -u origin Branch_Name

Step 8 : Pull Request

  • Go to your repository in browser and click on compare and pull requests. Then add a title and description to your pull request that explains your contribution.

  • Yeee! Your First Pull Request has been submitted and will be reviewed by the moderators and merged.

Message

It always takes time to understand and learn. So, do not worry at all. We know you have got this! ๐Ÿ’ฏ๐Ÿ”ฅ

thank.jpg