- Have a GitHub account
- Have access to a terminal
The Pilot page for this course, go to Content, then Labs. Here there is a link labeled: "Create GitHub Classroom repo"
Click the link when you are ready, then follow the instruction in Setup
- After click the "Create GitHub Classroom repo" link, you will be taken to github to finish creating your repo to use in this course
- Select your wright.edu email address from the list shown.
- If you misclick, email me so we can fix it
- Select
OK
on the popup to confirm you selected the correct email address. - Select
Accept this assignment
- After a minute, refresh the next page. You'll see something similar to:
- Click the lower link / link that looks similar to:
https://github.com/WSU-kduncan/ceg2350-your_GitHub_username
.
- The top link sometimes presents an "error" but things are actually fine.
- It may be convenient to bookmark this link for easy access down the road.
- The repositories created in this course are private. The only people with access are you, me, and the TAs for this course.
- Your answers to the labs are generally going to go in a
README.md
file in a folder corresponding to the lab number. Each lab may work a little differently and have you add additional files and folders.
- Generate a new SSH key with the command:
ssh-keygen -t ed25519 -C "[email protected]"
- Hit enter to skip any additional prompts
- Pay attention to where the key pair was saved by default
- NOTE You need to create a key pair on each system you want to use.
- AWS Ubuntu system = 1 key pair
- Your system = 1 key pair
- A system at wright state = 1 key pair
- Open the folder where the key pair was saved. Look for the file that ends with
.pub
- Open the file, and copy its contents
- Add your public key to GitHub
- Go to "Settings" - "SSH and GPG keys", then select "Add new key"
- Give your key a useful name that ids which computer it belongs to
- Paste the contents of the
.pub
file in the box
- To
clone
the repository:
- Click the green
Code
button - Select
SSH
for SSH key authentication - In a terminal use
git clone
followed by the corresponding URL to clone your repository