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:
- Make sure you're on this repository page.
- Click "fork in the top right corner to fork this repository to your own account.
- Once this repository has been forked to your own account, go to your profile to see the new forked repository.
- 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.
- 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.
- 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.
- 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.
- 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.
-
On the open a pull request page, be sure to add a title, and the name of the language you are adding.
-
Now we can open our pull request to the original repository.
Done! Our pull request has been opened! Check your status here: https://github.com/wsu-lug/hello-world/pulls