Hello everyone,

I wanted to share the Turkish version of the blog I wrote on my explaining how to create a PR in an open-source project.

Let’s Examine the Original Project!

pr_create_image

First, let’s open the project we want to contribute to.

Each project has its own development rules defined by the project managers, and these rules are usually clearly stated in the README.md file.

It’s beneficial to read this before taking any action on the project.

pr_create_image

Now, Let’s See How to Access the Project!

To contribute to a project, you need to either be part of the project or take a fork of it and work on that fork, then create a PR from that fork to the project managers. For now, we are focusing on the pull request, so we will click the fork button at the top right of GitHub to fork the project.

pr_create_image pr_create_image

While making our developments, if there is a specific rule in the project, it would be correct to create a branch and follow the given templates. We can open a branch by following the project issues.

pr_create_image

Let’s clone the project we forked:

git clone <your-fork-url>

and download the project.

pr_create_image

Let’s open the downloaded project and create a feature branch here. You can use the following terminal command to open a feature-based branch.

git branch -b feature/add-note

pr_create_image

Now, let’s check the details of the open issue.

pr_create_image

Let’s simply complete the chosen topic.

pr_create_image

Now that we have done the necessary work, we can start the PR process after making the required commits.

pr_create_image

Let’s push our commits!

pr_create_image

Let’s Create the PR!

Now, when we open the source of the original project, we see a green Compare & Pull Request button.

pr_create_image

By clicking this button, we are greeted with a PR page. Here, we write about our work in the title section.

pr_create_image

By leaving the necessary comments, we can complete the PR creation process.

We can label the topic we selected earlier using the # symbol.

pr_create_image

By clicking Create pull request, we create our PR. We are greeted with a screen like this.

pr_create_image

Congratulations! Now all we have to do is wait for the people managing the project to review your contribution and get back to you.

And that brings us to the end of the blog.

Happy Coding to Everyone! 👋🏻