An (even more) practical guide to open source contribution

- 5 mins

I had the pleasure of speaking at DevOps Minneapolis to a great group of people. In it we explored why I’m fascinated by open source, how it’s growing as a career opportunity, and then dove deep into the terminology that can be confusing at times. I called the talk a “practical guide” because it includes all the lesser-discussed parts of the effort: understanding terminology, feeling okay practicing, offering PRs for small improvements like correcting a typo. It was a great time and many came up to discuss it afterward.

It was so fun talking with my DevOps people in Minneapolis!What happened next was a 40 minute whiteboard session on what commands to run when you’re trying to push to GitHub. It was exciting, engaging, and the moment I realized that there were some even more practical tips the audience needed to hear. Here is that guide.

Configuring your laptop for SSH access

While I highly recommend new GitHub users enjoy their beautiful desktop applications, most people I talk to enjoy the CLI too much to do so. If you’re going to hang out on the CLI, invest in setting up SSH keys so you don’t have to re-enter your password.

Connecting to GitHub with SSH - User Documentation
You can connect to GitHub using SSH. …
### Commit to understanding commits

These wonderful little dots will be the difference between a helpful PR and one that’s confusing to other users. I’m a visual thinker, so it’s been difficult at times to know what’s going on. Then I found the beautiful Learn Git Branching tutorial. It took me about 5 run throughs to make me feel like a native speaker of commit history. Spend 15 minutes every morning for a month and I guarantee you’ll get there too. It’s worth the time!

Learn Git Branching
An interactive Git visualization tool to educate and challenge!
### Issues are a kindness

Reporting a detailed, thoughtful, and well-documented issue for a popular project is a great way to give back without a single line of code. I can tell you that I was nervous doing so for a while, but the trick to feeling confident is this:

Homebrew failing to install git · Issue #12325 · Homebrew/legacy-homebrew
Hey folks - total new guy here so apologies if I’m missing some prerequisites. I’m trying to use cinderella …
^ Here’s where I fumbled on following the issue request, but the team was kind enough to help me through it. Kind maintainers go a long way.

Could not make until I ran godep get · Issue #5 · djosephsen/lazlo
After go getting, make would break. I unfortunately deleted my terminal session and can’t paste the output for you. 😞…
^ Here’s an example of me opening one without updating. Lesson learned!

tour: better introduction to type declaration than it “does what you’d expect.” · Issue #14152 ·…
Context: This was good for a while, but we can do better. We could borrow from the…
^ The above is an example where I missed the original thread. They closed my issue and I joined the discussion on the other.

Correcting typos or READMEs as your first PR

Pull requests don’t have to be complicated. I find myself regularly using other people’s projects, and I’m bound to find a typo or two along the way. A short PR is an easy merge for the maintainers and often appreciated. Here are some examples you can see as examples:

Corrected minor typo in pollTemplate by mbbroberg · Pull Request #40 · docker/leeroy
I’m walking through this part of leeroy to figure out how to reuse it and saw this minor typo. Go go gadget minor…
Added tips and list of available functions to README by mbbroberg · Pull Request #5 ·…
I found these helpful while using revelator. Thanks!
Updating MySQL usage in README by mbbroberg · Pull Request #57 · MetricsGrimoire/MailingListStats
Walked through installation of MySQL, creation of the first database and formatted appropriately. I filled in a lot of…
### For those that took apart microwaves as children

There are those who don’t trust what they don’t understand. I often call them Engineers, and they’re awesome people. If you’re the type that needs to really get git before you’ll use it further, take the time to read Git SCM. It thoughtfully demystifies every piece of magic in the system.

A beautiful image showing how Git sees snapshots, not differences. Read the full article here.### Where to next?

If you have a CLI or GUI experience you feel good about, you’ve opened up an issue without fear, and started to share PRs once you’ve internalized commits, then you’re ready to dive in deeper.

This article was originally published on Medium

rss facebook twitter github youtube mail spotify instagram linkedin google google-plus pinterest medium vimeo stackoverflow reddit quora