Skip to content
@GenUSA-Learners

GenUSA-Learners

Generation Learners GitHub Org

This is where students can find class repositories, along with some other helpful resources. Please review the documentation below to learn how to use and interact with your class repository and what's expected when completing assignments and activities.

Table Of Contents

Other References

How To Use Your Class Repository

Clone Class Repo to Your Computer

  • Navigate to the Repository on GitHub
  • Use the green "Code" button in your repository, select HTTPS, then copy the url
  • Go to your command line (terminal/gitbash), navigate to the directory/folder on your computer that you use to keep your projects (ex. dev-projects directory) and make sure you cd into that project folder
  • Use the following command: git clone repo_url
    • This will create a new repository in your projects folder
    • Open your projects folder in VSCode by either selecting 'file > open' OR by using the code . shortcut
    • Then cd into the root directory of the repo you just cloned

Create a 'working' branch

Create a 'working' branch to work on in order to keep your code separate from the code on the Main branch.

This can be done by following the directions below:

  • In the root directory of the repository, run the git checkout -b working command OR git branch working followed by git checkout working.
  • move to your new branch using the git checkout working command.
    • notice that this new branch has the same code as your main branch. Use the command git branch to see all branches.

You will be completing activities and making any other changes to the repository on your new working branch

Pulling New Changes

When you need to pull new changes and activities, follow the steps below:

From your working branch, run:

  • git pull origin main

This should pull all the new changes into your working branch

NOTE: You will NOT be running any of the following commands on the Main branch of this repository:

  • git add
  • git commit
  • git push

Using these commands on the Main branch will cause problems when pulling any new changes or activities.

Fixing Your Class Repository

If you were working on the Main branch by accident, you may have to stash your changes so that you can pull. You can do this by following the steps below:

  • On the Main branch run git stash to stash the changes that are causing conflicts
  • Then run git pull to pull the new changes from your instructor
  • To get all the changes back into your working branch, run the following commands in order:
    • git checkout working
    • git merge mainto merge the new changes from the instructor that you just pulled from GitHub
    • git stash pop to get your changes back
  • To restore your local main branch to it's unchanged state so that it matches the main branch on github (origin main -- the remote main branch) and so that you don't have this problem in the future
    • Run git checkout main
    • Then git fetch origin
    • followed by git reset --hard origin/main

Navigating Your Class Repository

The curriculum is divided into sections and sub-sections. In each sub-section (or 'module') within your class repository, you'll find some or all of the following folders:

  • Activities - may contain practice, examples, and activities folders.
    • practice - This is where you'll work through the activities, mess around with examples, and experiment with code. You'll do this by copying the specific activity or example, and pasting it into this folder. Interacting with the repository in this way reduces the chances of accidentally creating conflicts when you pull new changes each week
    • examples - may contain examples of working code snippets or demos your instructor wants you to be able to use for reference when completing the activities
    • activities - most likely contains the activities you'll be working through in class, either peer coding in breakout rooms or as an individual assignment
  • Homework - contains links to Codecademy homework and learning objectives for the module
  • Resources - contains links to articles, videos, cheatsheets, and other items that you should use to learn and study if you get stuck, or supplement your learning

Completing Assigned Codecademy Homework

Homework for each unit is listed in your class repository in the Homework folders followed by the learning objectives for that module.

Note: Each module assigned in Codecademy is expected to be completed in full. This includes all lessons, projects, quizzes, articles, and videos if they appear in the module assigned. The link in your class repo only links to the first item in the module. Continue to click through the content until the assigned module is 100% complete, unless explicitly stated otherwise.

Pinned Loading

  1. Career-Assets Career-Assets Public

    1 4

  2. JFS-Codecademy-Assignments JFS-Codecademy-Assignments Public

    CSS 8

  3. JWD-Codecademy-Assignments JWD-Codecademy-Assignments Public

    CSS 2

  4. portfolio-guide portfolio-guide Public

    This repository contains a README providing a guide for developing an effective Professional Web Developer Portfolio

    1 11

Repositories

Showing 10 of 18 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…