This is the curriculum for the 2018 Foxtrot Web Developer Bootcamp.

Git Basics from LEARN on Vimeo

Git Basics

Task Notes Git Command
Tell Git who you are Configure the author name and email address to be used with your commits. git config user.name "Sam Smith"

git config user.email sam@example.com
Create a new local repository No notes git init
Check out a repository Create a working copy of a local repository: git clone /path/to/repository
Add Files Add one or more files to staging (index): git add `filename`
or
git add .
Commit Commit changes to head (but not yet to the remote repository): git commit -m "Commit message"
Push Send changes to the master branch of your remote repository git push origin master
Status List the files you've changed and those you still need to add or commit: git status
Connect to a remote repository If you haven't connected your local repository to a remote server, add the server to be able to push to it.

List all currently configured remote repositories.
git remote add origin `server`

git remote -v
Disconnect from a remote repository If you need to remove a connection to a remote server.

List all currently configured remote repositories.
git remote remove origin

git remote -v

Now for some review!

We've covered a lot of basics this week, and some extra practice is never a bad thing. Try this command line tutorial to review the JS we've learned so far:

Javascript Tutorial

We also have a whole Github Repo for you get some extra Javascript practice. We haven't covered all of the topics in class yet, but this repo will continue to be a helpful tool for review.

Javascript Fundamentals

Use your Github skills to fork and clone the repo and git started with some practice!

Assessments

As you already know, we have assessments that help you review and practice the concepts and code we learn each week. There are a couple of reasons we do this:

  1. Practice - We cover a new technology each week, which doesn't leave time for much practice. Assessments are a chance for you to get comfortable with these new skills.

  2. Check Progress - Assessments are designed to cover the key concepts from each week, so they are a good tool for you to be able to judge how well you are doing. If the assessments are easy, you are probably doing something right. If there is a concept or technology in the assessments that is really hard for you, you should reach out to an instructor to get clarification on that topic ASAP.

  3. Interview Practice - The last goal behind the assessments is to get you ready for interviewing. The questions in the assessments are very similar to questions you might come across in an interview. Simply by answering all the questions in the assessments, by the end of class you will have a list of nearly 80 interview questions that you are already comfortable answering!

Instructors will review the assessments at various times throughout the course to give you feedback about your code and understanding. This way, we can ensure that everyone is grasping the necessary concepts.

Setup

All of the assessments for your class are in a Github repo. Follow these steps to get your own copy of the repo up and running so you are ready to start:

  1. Go to the assessments repo: Assessments Repo

  2. In the upper right hand corner of the repo page, select to "Fork" the repo. This gives you your own personal copy of the repo - now you can always find your copy because it is listed under your repositories in your github profile!

  3. Go to your forked copy of the assessments repo, take the url of the repo, and run git clone the-repo-url -- now you have all the assessments in a folder on your computer and you are ready to edit them.

  4. As you work on the assessments, save your progress as you go by following these steps:

git add .

this adds all of your changes

git commit -m "a note to yourself about what changes you made"

this adds a message to your update, to help with organization

git push -u origin master

this "pushes" all of the changes you've made on your computer up to Github. You may be prompted to sign in to your Github account in order to push, but after that you should be able to see all your most recent changes on Github!

Submitting Assessments

Steps to submitting your Assessments:

  1. First, double check that you have pushed your most recent changes to Github, so that your Assessments repo on Github has all the information you want to submit.

  2. Go to the original LEARN assessments repo: Assessments Repo

  3. Click the button "New Pull Request"

  4. This takes you to a "Compare Changes" page. In the text block at the top of the page there is a link to "compare across forks" -- click on that link

  5. Now you will see two forks - find the "head" fork dropdown (3rd from the left), find and select your repo

  6. Give your pull request a title and any notes, then click "Create"

Today's Tentative Schedule

9:15am - Stand Up

9:30am - Introduction to Promises

12:00 noon - Lunch

1:00pm - Callenges

4.30pm - Review

5:00pm - Class Ends