This is the repository for the codeveloping workshop example.
In this workshop, you will go through a couple of excercises that involve common ways of working together on a software project.
This workshop also shows you how to contribute to someone else's repository on GitHub using your own fork and pull requests.
Please read through this readme in its entirety to get started.
All of these exercises assume the following:
- You have paired up with another person.
- You have GIT installed
- You are familiar with GIT in terms of committing, pushing and pulling
- You are familiar with the command line
- You have python installed
❗Only one of the people in your team needs to fork this repository.
In order to do this, follow these steps:
- Click the fork button at the top-right of this website, between the "watch" and "star" buttons.
- Uncheck "Copy the
master
branch only" - Click "Create Fork"
Once completed, you will be taken to your fork of the workshop repository.
This largely looks the exact same as the original repository, with the exception that you now have a panel above the files in the repository where you can "contribute" and "sync fork". We will get back to those buttons later.
❗The person who forked the repository should do this.
- Click on the "Settings" tab at the top of the page, next to the cog icon.
- Go to "Collaborators"
- Under Manage access, click "Add People"
- Find your team member and click "Add [name] to this repository"
Once your team member accepts the invite, they will be allowed to push to your repository.
In order to get the code on your machine, you must clone this fork of the workshop repository.
❗Every member of the team should clone the fork.
For this you will need the repository URL. This URL can be found on the main page of your fork, under the green "Code" button:
Copy the URL found under the SSH tab.
The URL should start with [email protected]
Then, in a command line, navigate to where you want to copy the repository to, and run git clone [url]
Once you have a copy of the code on your machine, take a look at the introduction.md
file under the pages
folder.