Skip to content

Process For Working On Exercises

Tamara Temple edited this page May 21, 2017 · 2 revisions

Working on the class exercises

The process for working on the exercises is basically the same and goes like this:

  1. shut down the watcher (Control-C in the command line) if it's running

  2. Check out the exercise to work on

     git checkout -b ex.01.start origin/ex.01.start
    

    If you have previously checked out a branch, you don't need to include the -b -- that is for creating a branch.

  3. Immediately create a working branch for yourself

     git checkout -b ex.01.working
    
  4. Push it to your remote repository

     git push -u origin ex.01.working
    
  5. Start up the watcher

     npm start
    
  6. Work on the exercise. If you feel like it, you can do intermediate commits when you like what you have.

  7. After completing the exercises, save all your work, and update your repository:

     git add --all -v
     git commit -m 'end of exercise'
     git push -u origin HEAD
    
Clone this wiki locally