Hey friend! 👋
Welcome to this repository which marks your start in the Open Source World!! 🌐👯♀️
In the next 10 min, you will contribute to your first Open Source projects - how crazyyy is that. 🚀
Now when contributing, we want to:
1. fork -> 2. clone -> 3. edit -> 4. push -> 5. pull
- Fork ➡️ Make a copy of the project on your GitHub account
- Clone ➡️ Download the project from GitHub to your computer
- Edit ➡️ That's self-explanatory - here you will add your name to our contributors file
- Push ➡️ Update and send the changes to your online GitHub repository
- Pull ➡️ Send your contribution to the original GitHub repository
That may sound a bit intimidating, but don't worry I got you! 👯♀️
Also if you are wondering: YES, this is exactly how all the devs in the world contribute to software projects online!
So in this project, you will have a great understanding of the mechanics behind GitHub so that you are ready for your future contributions!
You reeeeeady?? Let's do it - we got this ☕️🫶
Requirement: If not already done, download Git here.
For the 95% of us that prefer videos instead of text, find the below video to assist you in contributing! 🌟
First, click on ⭐️ star
in the right corner (to show some love 🫶💁♀️) and then click on the fork
button.
Fork means you will create a copy of this repository in your own GitHub account. 💪
![Screenshot 2023-06-14 at 12 57 42](https://private-user-images.githubusercontent.com/83458751/245783575-18a56d08-c99d-4b17-b019-1c3147e4a0f8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIxNDMyMzcsIm5iZiI6MTcyMjE0MjkzNywicGF0aCI6Ii84MzQ1ODc1MS8yNDU3ODM1NzUtMThhNTZkMDgtYzk5ZC00YjE3LWIwMTktMWMzMTQ3ZTRhMGY4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI4VDA1MDIxN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdhYWViNWIxODkyNWY0MjA1Y2M5ZTM0M2U1Yzg0MTc2OTU3ZGQxNWY5ZTQ0NDYyZWRhNzRjYjBiNTczYmQyM2MmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.nM3AHUFBnPHRbWsHblv8HZaA00GaRqFiVL9-MngUHLQ)
Now that you have the copy on your own account, let's download the entire project on your local computer!
1️⃣ You should now have landed on your forked repo page, here you will see a <>
button marked in green, click on it.
2️⃣ Click on the button looking like a double square
(highlighted in red below) to copy the URL.
![Screenshot 2023-05-29 at 11 47 49](https://private-user-images.githubusercontent.com/83458751/241714904-4a0f5bbc-854a-4df0-845d-fa8266414264.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIxNDMyMzcsIm5iZiI6MTcyMjE0MjkzNywicGF0aCI6Ii84MzQ1ODc1MS8yNDE3MTQ5MDQtNGEwZjViYmMtODU0YS00ZGYwLTg0NWQtZmE4MjY2NDE0MjY0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI4VDA1MDIxN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVlODZlZTcyMmNjZTUxYjI0OWU2NjEwMDE4YTFmMjM4NGNlOWNmYTRkMjE1NjczNDdhNjNkOTBiMDQ1MjkwNTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.UeaXoeXQJJFg4FfDFQrimCqVFMB76x-YHghjwzFQxTk)
3️⃣ Open your terminal.
4️⃣ Use your terminal to move to a folder where you want to put the cloned project (using more technical language, this is called moving to a directory of your choice). 📁
5️⃣ Type git clone
and then paste the URL copied earlier.
You normally should have written
git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY
6️⃣ Press Enter.
The entire project is now on your computer!
1️⃣ On your terminal, make sure that you are in the project (or directory 😉) by running: cd Your-First-Contribution
.
2️⃣ Open the QuineContributors.md
file in a text editor or on your favourite IDE (aka VS Code, Atom, PyCharm, Sublime etc).
Here you add your name (it can be a nickname if you want to!).
3️⃣ Copy the below code, adjust it accordingly and paste it into QuineContributors.md:
<td align="center">
<a href="https://github.com/YOUR_USERNAME">
<sub><b>YOUR NAME</b></sub>
<br />
</a>
</td>
4️⃣ To paste the code correctly you need to keep 2 things in mind. Firstly, new code must always go at the bottom. Secondly, there can only be 8 profiles per row. If a row already has the maximum amount you need to create a new row. This can be done by using <tr> YOUR CODE SNIPPET HERE </tr>
simply paste this code in three separate lines, following indentation. Remember code always goes at the bottom but above </tbody>
.
*Note: Look closely at how past contributors have pasted their code. Respect the indentation (aka the spacing between each line of code) to make sure the code is not messy. 🫶
5️⃣ When done, save the file!
OK, we got some changes done, now we need to upload them to your GitHub account.
In summary here we want to:
- ➕ add all the changes onto git
- 💬 add a commit message (which helps tell other devs what you have changed) and
- 💾 push the changes to your online GitHub repository.
1️⃣ So in your terminal, run the following command: git add .
2️⃣ After that, run: git commit -m "description of what you changed/added"
3️⃣ Finally, run: git push
At this point, if this is your first time, GitHub will ask you to authenticate yourself with your username and password. 🔐
4️⃣ Write out your GitHub username first and press Enter.
5️⃣ For your password, ever since Aug 2021, it is a personal token you need to write (and not your actual password!). Don't worry though, let's get your token together by following the below: ☺
-
On your GitHub account, hover to the top right of the page and click on your profile image
-
Now click on
profile setting
-
Find and Click on
developer setting
-
Click on
Personal Access Tokens (Token Classic)
-
Click on
Generate new token (classic)
-
Give a name e.g "authentification token"
At this point, you should be here ⬇️:
![Screenshot 2023-06-13 at 12 02 23](https://private-user-images.githubusercontent.com/83458751/245455128-3711a399-6d47-4861-8505-930330784d53.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIxNDMyMzcsIm5iZiI6MTcyMjE0MjkzNywicGF0aCI6Ii84MzQ1ODc1MS8yNDU0NTUxMjgtMzcxMWEzOTktNmQ0Ny00ODYxLTg1MDUtOTMwMzMwNzg0ZDUzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI4VDA1MDIxN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU3NTVlZmI2ZjY4MWMyZTQ2OTE3MjU0MDY0ZDI4ODM5NWNhN2I1MDU3NTAwNjg1OWJhMmUxYzRmNzFlNWZjOGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.yvjVNXNSMsg6AD0ypxSQsEE_fSfRsaAYCGoQxv8sjHU)
6️⃣ Select the scopes you want (for ease you can select all of them).
7️⃣ Click on Generate token
8️⃣ Your token will be displayed and you will be able to paste it into your terminal after which your push should have been successful! 🎉
We are so close to the end now! 🤙
All we need to do is now send over our changes to the original repository to make our contribution.
In "GitHub language", this is called "pulling a request" because you essentially "pull" your changes into the original repository that you forked.
1️⃣ Go now to your GitHub repo page online.
2️⃣ Click on the Contribute
button.
3️⃣ Click on Open pull request
4️⃣ You will then title your pull request with your "Name Surname" and you can leave the comment section blank.
5️⃣ Click Create pull request
and that's it you have made your first contribution!! 🚀👯♀️
Congraaaaaaaats! ⭐️
You may be thinking, I thought I would be taken to the repository straight away but I'm left with the status of the pull request?
YES, this is because we now need to accept your pull request (it is also called merging a pull request).
All in all, contributions happen in this way where the maintainer(s) of the original repository (aka the people that are in charge of the repo) check your contributions and either end up accepting them or giving you feedback on what changes they need from you.
So sit back and relax as you have just done everything you needed! ☀️🧘♂️🎉
We know it is always super tough the first time and it's really cool you got to this point - so proud of you! 👯♀️💚
If you are ready to start contributing to other projects, we have compiled a list of projects with easy issues you can get started on. Check out the list of projects on quine.sh🚀
If you haven't yet, you could join our discord server if you need any help or have any questions. 🫶