contributing to open source
Contributing to Open Source IS DAUNTING for noobs. The potential landmines out there in this arena is huge. It’s not easy. I don’t care what anyone says. They come up with all these tutorials on how to do it, but they all suck. They all be confusing. Noobs have about a 5% chance of understanding. That’s even if you understand how to even fix a problem. But anyways, I figured it out.
Here are the steps…
- Fork the Original Repostory
- Clone your newly forked repository locally
- Create a feature branch git checkout -b do-readme-versions
- Make the changes
- Commit the changes
- Push the changes to your forked repository’s branch. git push origin do-readme-versions
- Navigate to your forked repository and create a pull request(there should be a button to do so, “recently updated branches”)
- Submit your pull request and wait for them to destroy your soul!
It’s critical To stay in line with the original repository, to do this, you’ll need to add the original repository as an upstream.
git remote add upstream https://github.com/github/hub.git
Adds an upstream.
git remote -v
Lists all remotes, can be used to check the upstream remote’s existance.
git fetch upstream
Fetches the lastest upstream.