How to send a pull request on Github?


I’m a still beginner and am thinking about if I should really be submitting a pull request. Fortunately, everyone has something to contribute and that is why it is open source. So, let’s start.

Pull request is workflow method for contributing to an open source project. It means you can edit someone else’s code (or documentation) in Github.

There are two ways when dealing with pull requests. First one is from a forked repository and second one is from a branch within a repository. I’m going to focus on the first one.

1- Go to the Github Repo (upstream) which you want to send your pull request to and click the fork button.

Screen Shot 2016-03-15 at 22.35.57

2 – You have a copy of the repo on your account.

Screen Shot 2016-03-15 at 22.42.47

3 – Now, you can create a local clone:

`git clone https://github.com/gulistanboylu/angular-meteor-docs.git`

 4 – In this step you should create a new branch for your changes. Create a new branch :

`git checkout -b branch-name`

5 – Now, you can work on a new branch and commit to branch.

`git add commit -m “Commit message”`

 6- Push changes to origin.

`git push origin branch-name`

7- Go to the upstream repo and click Compare & pull request. And the next step is to write an explanation for your proposed changes and to click on the Create Pull Request button.

Screen Shot 2016-03-16 at 00.08.09
Screen Shot 2016-03-16 at 00.18.02











And that’s it! Thank you for  reading 🙂

You Might Also Like


  • Reply engin 14/05/2016 at 15:25

    Herşey türkçe de neden githup yazılarınız ingilizce 🙂 yazı gayet güzel. Fakat github için şöyle güzel bir türkçe kılavuz hazırlasanız da yararlansak.

    • Reply gulistan 16/05/2016 at 10:18

      İngilizce yazı denemelerimi yapıyordum aslında, Github’a rastlamış olması tesadüf olmuş 🙂

  • Reply Eren 08/06/2018 at 05:50

    Çok güzel herkes Oxford mezunu bu ülkede.
    Elin İngilizi GitHub yardımı için Türk sitelerinde mi dolaşacak?Hadi yazdınız bari ek olarak Türkçe açıklama koyun.

    • Reply gulistan 14/04/2019 at 16:05

      Kimseye bir sey ogretmek icin yazmiyorum yazilarimi, cogu zaman kendim icin yaziyorum. Bu da kendi Ingilizcem icin 😉

    Eren için bir cevap yazın Cancel Reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.