Skip to content

TheNoumanDev/Hacktoberfest

Repository files navigation

Hacktoberfest 2022 🎉

Note

'''
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
'''

🗣 Let's COntribute to Opensource 🔥.

📢 This repository aims to help beginners 🤔 with their first successful Pull Request and Open Source Contribution.


⏳ Steps to Follow :

  • 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.

❗ Contribution Rules :

  • 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.

🌎 Steps to contribute:

  1. (Optional) If git is not installed on your laptop/pc:
    1. Download Git from here and then Install it.
    2. 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"
    1. Then Copy and paste the following command with your Github Email and run.
    git config --global user.email "your_email_address"
    1. You are Good to go👌👍.
  2. Fork this repository by clicking on the top right corner where it is written Fork.
  3. 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
  1. 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
  1. Open this cloned repository in your preferred code editor.
  2. 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
  1. 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
  1. 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.)
  2. Now add a title, some description and you have opened a pull request in this repository💖.

Show some ❤ by hitting the ⭐ button


Awesome contributors 🤩