This repo allows Open Source beginners to learn how to contribute to Open Source Projects on Github!
Inspired by https://github.com/firstcontributions/first-contributions, this repo provides a smaller version of this project for the Red Hat BUILD event.
Follow these steps to create your first contribution!
Git, a Github account, and a Text Editor are required to complete this contribution, and is also a standard toolkit for contributing to most open source projects.
-
Github Account: https://github.com/join
-
Text Editor: Examples include:
- Sublime Text: https://www.sublimetext.com/3
- VSCode: https://code.visualstudio.com/download
- Notepad++: https://notepad-plus-plus.org/downloads/
-
Sign up for Hacktoberfest!: https://hacktoberfest.digitalocean.com/
Git Cheat Sheet: https://education.github.com/git-cheat-sheet-education.pdf
At the top right corner of this github repository, click the "Fork" button.
Go to the repository you just forked and clone it
git clone <forked-repo-url>
Change to the repository directory on your computer (if you are not already there):
cd <forked-repo>
Create a branch using the git checkout command:
git checkout -b <your-new-branch-name>
Now open Contributors.md file in a text editor, add your name and College/University to it, in the format
[Jane Doe] [College/University]
git status
If you go to the project directory and execute the command git status, you'll see there are changes.
Add those changes to the branch you just created using the git add command:
git add Contributors.md
OR
git add .
Now commit those changes using the git commit command:
git commit -m "Add <your-name> to Contributors list"
git push origin <name-of-branch>
If you go to your repository on GitHub, you'll see a Compare & pull request button. Click on that button.
Here are some other beginner friendly GitHub Projects: