Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 2.33 KB

GitHubClassroom.md

File metadata and controls

19 lines (15 loc) · 2.33 KB

How to use GitHub Classroom

Perquisites:

  1. You'll need a GitHub account to make use of GitHub Classroom. If you don't have an account, please create one: https://github.com/join
  2. Git should be installed and setup locally on your computer. To learn how, check out https://git-scm.com/book/en/v2/Getting-Started-Installing-Git .
    • If you aren't sure if you have it installed or not, you can check by going to your terminal/command line and typing git version. This will tell you what version you have or, if it's an unknown command, you'll need to install it.

Setting up GitHub Classrooms

  1. For each assignment you'll get an invite link via email. The first time you accept a link, you'll be asked to join the classroom. Please follow the steps GitHub Classroom gives you. Please link to your UCD email - if you accidentally put in the wrong email/make a typo, please reach out to the TA to get this fixed.

How to download and edit projects/repos from GitHub Classroom

  1. For each assignment you'll get a new invite link. After you accept this, you'll be able to clone the repository (button is on the top right - it's the button "Code" with a download icon). To keep organized, consider having a folder on your computer exclusively for this class.
  2. Now that you've cloned your repository, you can work on your assignment and make any edits you'd like. Be sure to add and commit your changes often - this will help if you'd like to go back to a previous version.
    • Commits track changes and preps them to be pushed to your remote repository.
    • When you push, the changes in your local repository are "pushed" up to the remote repository. For your assignments commit and push often - this will ensure you won't lose your work!
    • If you're new to git, the terminology/workflow may be confusing - check out https://rogerdudler.github.io/git-guide/ or other tutorials to learn more.
  3. Before the deadline, be sure to push all of your changes to your master branch! We'll be grading your master branch