Link Search Menu Expand Document (external link)

Accepting an Assignment

When you are a student in a GitHub Classroom you must accept an assignment before you can begin working on it. Once you accept the assignment you will create and get access to a unique GitHub repo based on the template repo. This documentation assumes that you have created a GitHub account and have downloaded & installed git.

  1. Paste the assignment link into your browser
    • You may be prompted to sign in
    • Enter your credentials and click ‘Sign in’
  2. If this is your first time using GitHub Classroom, you may be prompted to authorize GitHub Classroom
    • Click the ‘Authorize GitHub Classroom’ button
  3. You should then see this page or something similar:
  4. Click the link ‘https://github.com/sandiegostate/sample-assignment-[your-github-username]’ to view the repository
    • You should see something similar to this
  5. Click the ‘Code’ button to choose how you would like to clone the repo
    • Click the copy icon next to the URL to copy it
  6. You can now clone the repo with git from a terminal
    • Note: replace the URL with the one that you copied for your assignment
    • git clone https://github.com/sandiegostate/sample-assignment-[your-user-name].git

Congratulations! You have accepted your assignment and now have a local copy of it which you can work on in your preferred text editor or IDE.