DEV Community

Alice Lee
Alice Lee

Posted on β€’ Edited on

3 1 2 2 2

Beginner Contributions: This is how I learned to contribute to open source projects on GitHub

Intro

Feb 22, 2024. This is the absolute first time I'm actually contributing to GitHub. I've struggled and slacked, never actually learned what Git and Github are. I didn't even know what a repo was at that time. Now I've realized that forking, cloning, and all the "crazy" stuff on GitHub only takes a few hours to master. I decided to watch a bunch of YouTube videos and, most importantly, to read the "Collaborative Coding" section in GitHub Docs.

What I learned

Git-Think of this as a time machine to track everything that happened to your code. This works well with the GitHub platform. If you are using Mac(like me) git is already installed if you have Xcode. To install, refer to the "resources" section of this post, and run git commands in Mac Terminal.
Repository(Repo)-It's a place to track the version histories for all your work. You can also add a README inside a repo to explain what your project is about.
Fork-A copy of a repo that is yours. You can experiment with the repo however you want.
Commit-All the changes you made in your branch that are recorded.
Pull Request(PR)-It's a proposal to merge someone's commits to the main branch.
Issue-Issues are literally issues occurring in a project. It also helps maintainers track bugs, requested features, webdev mistakes, etc. If you're a beginner contributing to an open-source project, look for issues with the label "Good first issue."

These are the resources that helped me

GitHub Docs
Download Git
Git Tutorial
GitHub's Git Tutorial
Pull Requests
Contributions Tutorial

Good Luck. Follow me on GitHub πŸ‘

Sentry image

See why 4M developers consider Sentry, β€œnot bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay