Yalies-On-Rails-2014-Spring
This is the home repo for the 2014 STC Course Yalies On Rails.
You probably want to check out the wiki.
How to Submit Assignments via GitHub
Setup your repo. (One time only)
- Fork this repo to your github account.
- Clone it onto your computer
git clone ___
- Add STC's copy as a remote nicknamed 'upstream'
git remote add upstream https://github.com/yale-stc-developer-curriculum/Yalies-On-Rails-2014-Spring.git
###Working in your personal repository
cd
to the folder with your name- Do your work (IN YOUR FOLDER ONLY!)
- You can view example code in the folder
EXAMPLE
- Git add/commit/push to your copy
- Try to get into the habit of adding/committing/pushing very often - every substantial change, approximately every 3-10 minutes
###Updating your personal repository match STC's
When the STC repository changes (new assignments or updated testing file) you'll have to update your copy
cd
to theYalies-On-Rails-2014-Spring
repositorygit pull upstream master
to pull updates from upstream (=STC's copy) to your master branch
###Submit your work to STC's repository
When you're ready to submit your assignment, you'll use a Pull Request.
- Make sure you've committed all of the changes you intended to your personal github repository (check the website to be sure)
- Navigate to STC's github page for the course https://github.com/yale-stc-developer-curriculum/Yalies-On-Rails-2014-Spring/
- Click on "pull requests" in the right bar
- Click on "new pull request" in the top right
- Click "compare across forks"
Base fork
should be STC's andhead fork
should be yours. Both should be on the master branch.- Click "create pull request"