Prework Study Guide

Profile image of cat wearing a bow tie.

✨ Open the Console to See What's Happening ✨

HTML

CSS

Git

  1. git status
  2. git checkout -b branch-name: creates a new branch and switches to it
  3. git add -A: adds all modifications in current working branch to staging area
  4. git commit -m "comment": commits to repository, '-m' -associates message with our commit
  5. git pull origin main: pull base branch into feature before pushing up code (*important to make sure you have the latest version of project)
  6. git push origin branch-name: pushes changes from local environment into GitHub
  7. in GitHub repo, click "Compare & pull request"
  8. click "Create pull request"
  9. click "Merge pull request"; click "Confirm merge"

JavaScript