-
Notifications
You must be signed in to change notification settings - Fork 102
Home
Welcome to the pizzaParty wiki! If you want to learn some basic GitHub operations and/or share your own amazing pizza recipe with Wout, you've come to the right place! Just follow the directions below.
These instructions do not require any previous knowledge about git or GitHub, but do assume that you have an active GitHub Account, and that you have downloaded the GitHub Desktop software.
For a low-threshold introduction to git and GitHub, including a quick introduction to this repository, a live run-through of some of the commands of your basic git and GitHub workflows, and definitions of concepts like fork
, commit
, push
, and pull request
be sure to check out this repository's accompanying video lecture.
On the top right of this page (or any page belonging to this repository), you can find a Fork
button.
- Click on the button
- Agree to Fork this repository onto your account
- Open GitHub Desktop
- Click on
Add
>Clone Repository...
- Select the forked repository
- Select a place where to save your clone of the repository
- Click on the 'History' tab to get an overview of all the repository's past commits.
Now, you can start making changes to your own copy of the repository.
- Find the repository on your computer (this is where you saved it in 6. above).
- Duplicate one of the files (e.g.
GOAT.md
) - Open the duplicated file in a text editor (like oXygen, SublimeText, Visual Studio Code, Atom, ...)
- Change the filename of the pizza into something unique
- Change the pizza's ingredients
- Change the pizza's name
- Save your changes
- Go back to GitHub Desktop
- Have a look at what's in the 'Changes' tab
- Write a commit message (e.g.:
added [pizzaname]
). You can also use emoticons in your commit messages! 🍕 - Commit the changes
- Still in GitHub Desktop, click on the button to push your changes to the remote repository
- Visit your online account on the GitHub website
- Find your repository
- Admire your changes
The new pizza file you added to the repository should now be visible in the overview of your repository's file and folder structure. As you'll see, the overview also states for each file or folder when its most recent changes took place, and what the message of the relevant commit was. This is why it's useful to write meaningful commit messages: it makes it easier to navigate both your files and your revision history at a glance.
Just above your repository's updated file structure, you can also find some more information about your latest commit, and click through to a list of all the commits that have been made to this repository. Including those made by the people you forked the repository from.
- In case you moved away from your repository since completing the previous task, go back and visit your repository again.
- On the top of the page, find the button called
Pull requests
- Continue to
create a pull request
- Be sure to mention
#1
in your commit message -- if you added a new pizza. This will link the commit to the relevant issue in this repository. - Send the pull request
- Wait until Wout merges your request into his branch
- When you visit the original repository, your changes will be there now!