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

 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 :)


  1. engin   •  

    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.

    • gulistan   •     Yazar

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

Bir Cevap Yazın

E-posta hesabınız yayınlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

Şu HTML etiketlerini ve özelliklerini kullanabilirsiniz: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">