TranslateProject/sources/talk/20220919 I got my first pull request merged!.md
2023-01-28 12:11:28 +08:00

95 lines
5.2 KiB
Markdown

[#]: subject: "I got my first pull request merged!"
[#]: via: "https://opensource.com/article/22/9/first-pull-request-merged"
[#]: author: "Oluwaseun https://opensource.com/users/jhhornn"
[#]: collector: "lkxed"
[#]: translator: "onionstalgia"
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
I got my first pull request merged!
======
Experience the joy that contributing to open source brings.
![Dandelion zoomed in][1]
Image by: Photo by Rob Tiller, CC BY-SA 4.0
Words cannot express my joy when I got the notification about the merge below, and I owe it to my current engineering school, [AltSchool Africa][2].
![successful merge message][3]
Before this, I had been introduced to open source many times, told about its importance in the tech space, and even attended open source conferences (e.g., OSCAFest). I had all the instant excitement to start, but imposter syndrome set in on opening GitHub to create something.
Fast forward to Monday, the 8th of August, 2022, when I watched Bolaji's video on contributing to open source. I felt pumped again, but I wanted to apply what I learned, so I noted some steps.
The steps:
1. I made up my mind I was going to contribute to a project.
2. I was focused on a site ([good first issue][4]) to pick my first project from, which I filtered to suit my skill level. I kept opening the next page till I found one.
3. I made sure I was equipped with the required [Git and GitHub][5] knowledge to complete the project.
### The project
After long hours searching for projects, I finally found one titled, [Ensure no missing alt attributes][6]. I was to give descriptive alt values to images from the site. Alt values in images help to improve the accessibility of the site such that screen readers can provide a detailed description of the image to, say, a visually impaired person. Easy right? Yes, but if I didn't make up my mind to get the first contribution, I wouldn't find it, and open source would continue to be a myth to me.
I was still pumped until I discovered it was from [MDN][7]. Wait, MDN? As in Mozilla developer? Will they merge my contribution even with how seemingly easy it looks? [Imposter syndrome][8] set in.
Upon checking the issue, I saw that people were already contributing. I summoned my courage and started reading about it. Taking my time to read and understand the project and how I needed to approach the issue was another challenge I had to overcome.
The project is as easy as you try to understand it.
So, I picked two images to begin with. I gave alt values to them, committed my changes, then made a pull request. The time between when I made the pull request and when I got the approval mail was full of self-doubts. Should I close the pull request? This is MDN. Well, it's not coding... What if I don't get merged? I might never contribute again. All it took to clear all of the doubts were the emails I got from my reviewer below:
![Email of approved pull request][9]
![mail showing that pull request has been merged][10]
![congratulatory mail on contributing and merging of pull request][11]
I was indeed delighted, and this inspired me to check for more. It gave me the courage I needed to request additional issues to solve.
![Mail of issue assignment][12]
### Summary
A few lessons I'd love you to take home from this article are:
* Open source is for all. Do you see that typo on that site you just visited? You helping to correct it is a way of contributing.
* No skillset is too small. A basic understanding of HTML was what I needed to contribute.
* Only you can stop yourself from contributing.
* The first contribution is all you need to get the ball rolling.
I hope you have been able to pick something from my story and apply it today. This is another space I'd like to keep contributing to, so see you in my next article, and happy open sourcing!
*[This article originally appeared on I got my first Pull Request merged! and is republished with permission.][13]*
Image by: (Awosise Oluwaseun, CC BY-SA 4.0)
--------------------------------------------------------------------------------
via: https://opensource.com/article/22/9/first-pull-request-merged
作者:[Oluwaseun][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://opensource.com/users/jhhornn
[b]: https://github.com/lkxed
[1]: https://opensource.com/sites/default/files/dandelion_zoom.jpg
[2]: https://www.altschoolafrica.com/
[3]: https://opensource.com/sites/default/files/2022-09/successfulmerge.png
[4]: https://goodfirstissues.com/
[5]: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/getting-started/about-collaborative-development-models
[6]: https://github.com/mdn/content/issues/19334
[7]: https://developer.mozilla.org/en-US/
[8]: https://opensource.com/article/20/9/imposter-syndrome
[9]: https://opensource.com/sites/default/files/2022-09/approved.png
[10]: https://opensource.com/sites/default/files/2022-09/merged_0.png
[11]: https://opensource.com/sites/default/files/2022-09/thanks.png
[12]: https://opensource.com/sites/default/files/2022-09/next.png
[13]: https://dev.to/jhhornn/i-got-my-first-pull-request-merged-3ei9