Skip to content

HackClubIUB/Open-Source-Contributors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Let's Contribute To Open-source

Completing the Challenge

If you have previously never contributed to any open-source software then these steps will help you get started:

  1. Go to Hacktoberfest official website and sign in there using your GitHub.
  2. Install git and setup in your computer. Download and install it from here.
  3. Fork this repository by click the Fork button in the top right of this page or simply click here.
  4. Once it is forked, clone the repository in your computer. For this, copy the URL in the address bar, and use the following command:
git clone url_you_just_copied
  1. Open this cloned repository in your preferred code editor. Also, open a terminal in this directory.
  2. Now type in the following command in the terminal and replace username with your GitHub username.
git checkout -b username
  1. Fill this block with necessary info of yourself.
    {
      "name": {YOUR_NAME},
      "batch": {YOUR_BATCH_COMMENCEMENT_YEAR},
      "major": {YOUR_DEPARTMENT},
      "githubUsername": {YOUR_GITHUB_USERNAME},
      "favoriteLanguage": {YOUR_FAVOURITE_PROGRAMMING_LANGUAGE}
    }
  1. Now add the above filled block to the array in profiles.json file

  2. 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.
  2. Now add a title, some description! You have opened a pull request in this repository.

You need to open four valid pull requests in order to complete the challenge. If you have performed the above steps, you have already opened one pull request. And you need only three more.


Note: Those repositories who have hacktoberfest as a label are considered for Hacktoberfest challenge only.