'''
Always try to make more than 4 pull requests.
Let's assume you have made only 4 pull requests to different projects.
but one project is excluded from the hacktoberfest event.
Then your pull request will not be counted and you will only have 4 valid pull requests.
If this happens then you will not get any swags or the t-shirts
'''
📢 This repository aims to help beginners 🤔 with their first successful Pull Request and Open Source Contribution.
- Register for Hacktoberfest and get started to make your first PR.
- Make 4 valid PRs during the period of (1st - 31st) October to earn cool swags.
- You can add programs in any programming language in the related Folder, but your program must be different or unique.
- You can contribute a "Hello World" program as well but in its related folder as well.
- The pull requests must contain commits made by yourself.
- Repeated codes will not be merged.
- (Optional) If git is not installed on your laptop/pc:
- Download Git from here and then Install it.
- Run your Git Bash, then copy and write the following Commands to Configure your git with your Github Account. (Required)
git config --global user.name "your_username"
- Then Copy and paste the following command with your Github Email and run.
git config --global user.email "your_email_address"
- You are Good to go👌👍.
- Fork this repository by clicking on the top right corner where it is written
Fork
. - Now for Cloning the repository into you PC, copy the URL in the address bar and use the following command.
git clone url_you_just_copied
- Now again open git bash in the directory you just clone the repository and execute the following commands replacing username with your GitHub username.
git checkout -b username
- Open this cloned repository in your preferred code editor.
- Go to the related Language Folder. Copy and paste following comments at the Top of your program and fill the information✌.
Name: Here goes your name
Username: Here goes your GitHub username
Favorite Language: Here goes your fav programming language
- Once you have done all this, commit your changes to GitHub. You can do this with the following commands. Make sure you execute them in the precise order one after another in your terminal.
# copy and paste the following in the terminal
git add .
# copy and paste the following in the terminal after you have executed the previous command
git commit -m "hacktoberfest contribution"
# copy and paste the following in the terminal after you have executed the previous command
git push -u origin your_github_username
- Now open the forked repository on your GitHub. You will see a yellow box at the top telling you that some changes are pushed. You will also see a button called Compare & pull request. Click on it. (Note: if yellow box doesn't appear then wait for Half an hour, it will appear.)
- Now add a title, some description and you have opened a pull request in this repository💖.