- 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 [email protected]:kingluddite/catchup-04-mysql-mongo.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-basic-sql
$ git checkout 02-connect-mysql
$ git checkout 03-get-route-question
$ git checkout 04-activity-01-start
$ git checkout 05-activity-01-solution
$ git checkout 06-sequelize-code-review
$ git checkout 07-activity-02-start
$ git checkout 08-activity-02-solution
$ git checkout 09-mongodb-cli
$ git checkout 10-activity-03-start
$ git checkout 11-activity-03-solution