- note The
$
below means "Type this in the Terminal". When writing the following Terminal commands, ignore the$
and type the rest. You will see people represent the Terminal on sites like Stackoverflow with the$
. Repeat. You don't need to type the$
. (Don't confuse this$
with the$
from jQuery)
$ git clone https://github.com/kingluddite/catchup-session.git
-
Each of the lessons will be contained inside their own branches. You need to pull down these remote branches to your local machine
-
Use the following two commands to pull remote branches down to your local machine
-
$ git fetch --all
-
$ git pull --all
- To focus more on the code we will just checkout a branch to work on the next lesson
- You have access to the repo after the Catchup so you can play around with the code (the best way to learn how to code is.... to code)
- To checkout a branch just type any of the following to checkout that particular branch
- To see all your branches you can type
$ git branch
, (you won't see a list of the branches until you check each one out individually) - To break out of the list of branches type
q
for quit
$ git checkout master
$ git checkout 01-vanilla-js
$ git checkout 02-jquery
$ git checkout 03-fixed-jquery
$ git checkout 04-jquery-placement
$ git checkout 05-external-js
$ git checkout 06-working-external-js
$ git checkout 07-jquery-ready
$ git checkout 08-bootstrap
$ git checkout 09-activity-one
$ git checkout 10-activity-one-answers
$ git checkout 11-activity-two-question
$ git checkout 12-activity-two-answer
$ git checkout 13-activity-two-dynamic-button
$ git checkout 14-api-demo
$ git checkout 15-pokemon-api
$ git checkout 16-activity-03-start
$ git checkout 17-activity-03-solution
$ git checkout 18-activity-04-start
$ git checkout 19-activity-04-solution
$ git checkout 21-ajax-demo-live-code
$ git checkout 22-ajax-solution
$ git checkout 23-star-wars-activity-1-question
$ git checkout 24-star-wars-activity-solution