-
Notifications
You must be signed in to change notification settings - Fork 22
Workflow Update
There were a few questions about the "Teacher" repository, so we wanted to clarify the new workflow:
Overview
In addition to the forked repository you've all been using, you'll now have read access to the 'Teacher' repository, which you'll use to store original copies of all materials.
So on your local drive you'll have two directories -- one for the "Teachers" material and one (the one you've setup last week) for your work.
Downloading the latest teacher repository:
cd ~/GADS-NYC-Spring2014-Teachers
git pull origin master
So just
git pull origin master
each time you want to update with the latest materials from the teachers.
So, you'll only be using this "...-Teachers" directory as a source for files to copy to your own personal forks.
Working with files
You'll be copying files from the teacher repository to your own clones "fork" that you've been using. As mentioned, this is where you'll continue to do work.
Although we changed the name (added "...-students"), the repo will still push fine. However, git will suggest you update the name -- to do so, use this command:
git remote set-url origin [](https://github.com/datadave/GADS9-NYC-Spring2014-Students.git)https://github.com/datadave/GADS9-NYC-Spring2014-Students.git
Pushing your changes to your fork
After you've completed assignments, or as you're working, you can "git push" from local to your forked remote copy as before:
git push origin master
When you want to submit your code
When you want to submit code or files so that teachers can review your work, initiate a pull request by going to github, switching to your branch, and clicking on the "compare & review" button.