Skip to content

AHS Coding Club GitHub and Hacktoberfest demo repository

License

Notifications You must be signed in to change notification settings

AHSCodingClub/CodingClub

Repository files navigation

CodingClub

AHS Coding Club demo repo

Hacktoberfest is an annual coding event where you can win a free t-shirt, just for writing code!

Setting up GitHub and linking it to Hacktoberfest

First, you'll need to make a GitHub account. That's pretty simple, just go to github.com/signup. You can use your school email or personal email, but if you're going to keep on coding, you should probably use your personal (since GitHub is so big and you're definitely going to keep using it).

Once you have GitHub set up, link it to the Hacktoberfest event site.

  1. Go to hacktoberfest.digitalocean.com

  2. Click the Start Hacking button

Start Hacking button

  1. Click Sign up with GitHub

Sign up with GitHub button

  1. Accept the permissions

Click "Authorize Hacktoberfest"

  1. Enter the info. Choose "Participant" under "Are you a..."

Select Participant field

  1. That's it! When you make pull requests later, they'll show up.

Making a pull request

Pull requests sound scary but they just mean "code contribution." That can be adding your own code, or modifying someone else's. For now, just add your own code (could be anything).

  1. Go to the CodingClub sample repository

    • "Repository" = folder of code
  2. Click Fork. This will make a copy of the folder that you can edit.

Fork

  1. Add a file.

Add file -> Create new file

  1. Paste in your code!
print("Hello world")
  1. Commit your changes.
    • "Commit" = save your code

Commit new file

  1. You have added your file. Time to create a pull request now

Contribute -> Open pull request

  1. Confirm that you want to create a PR

Click "Create pull request"

  1. Thanks for the PR! We will accept it later and it will count to your 4 PRs.