Skip to content

Latest commit

 

History

History
55 lines (31 loc) · 2.81 KB

Readme.md

File metadata and controls

55 lines (31 loc) · 2.81 KB

Hello World - Hacktoberfest 2018

The purpose of this repository is to help people get familiar with creating pull requests, and to similarily recreate helloworldcollection.de.

For Hacktober 2018, the WSU Linux Users' Group is encouraging students to open pull requests to this repository to add their favorite languages.

The only requirements is that you follow the steps below so the format looks like the example, and you actually have run the code on your machine. Copying and pasting from similar repositories is no fun :)


Prerequisites:

  • Have an account on github.com
  • Have git installed in their local machine: Instructions

Steps:

  1. Make sure you're on this repository page.
  2. Click "fork in the top right corner to fork this repository to your own account.

fork

  1. Once this repository has been forked to your own account, go to your profile to see the new forked repository.
  2. Click on the Clone or Download button.If you installed Github desktop, you can clone that way. Otherwise, clone by either https or ssh by copying the respective command into your terminal.

forked

  1. Once you've cloned your forked repository to your local machine, open the folder in an editor of your choice. From here, create a new folder with the title of the language you're going to add. For example, we're adding Go, so we created a folder called "go". Inside this folder we have:
  • All code required to run our hello world.
  • A Markdown Readme file containing steps to run our hello world.
  • A screenshot of the hello world running on our machine.

adding

  1. Now we we're going to use the terminal to add our files for staging, commit them with a commit message, and then push our code to the remote repository on github.com.

commands

  1. If we go back to the Github webpage showing our code, and refresh the page, we'll notice that our new folder is there, with everything we added. Now we can open a pull request.

openpr

  1. As soon as you click createpr, you'll be brought to a page which will describe all the changes you are wanting to make to the wsulug/hello-world repository.

compare

  1. On the open a pull request page, be sure to add a title, and the name of the language you are adding.

  2. Now we can open our pull request to the original repository.

createpr

Done! Our pull request has been opened! Check your status here: https://github.com/wsu-lug/hello-world/pulls

done