/How_to_create_a_pull_request

Github Basic- How to create a pull request. or how to contribute to an open-source project

How to create a pull request?

What is a pull request?

Pull Requests are the heart of collaboration on GitHub. When you open a pull request, you’re proposing your changes and requesting that someone review and pull in your contribution and merge them into their branch.

Steps to create a pull request

Step 1 :- Fork a repository that you wanted to contribute. (Creating a “fork” is producing a personal copy of someone else's project. Forks act as a sort of bridge between the original repository and your personal copy.)

Step 2 :- Now Change code or add code on your personal copy repository

Step 3 :- On your copy repo,sitpry click Pull Requests and raise a Pull Request selecting your fork on the right drop down

Example:-

  1. Fork this Repository. (on clicking top right corner fork button)

  1. Choose where to fork (i.e. in your profile or any of your organization profile )

3.Now click to Add file (two option -1. create a new file , 2. upload file )

Now for instance click to create a new file
Add file name and Data for examaple as per given format

Filename- Your_name

Your Name Semester Branch College Name

4.Now Commit your file on clicking to this button

  1. Now Click on to the pull request tab then click on to create pull request button


Now wait , After Repository owner verify that your code is correctly working he/she will merge your code...

This is how you contribute to an Open-Source Project...

For more information please go through the documentation :- click here