Homework Process
mkdir <homework name>- Make a new directory for the homeworkcd <homework name>- Move into the new directorygit init- Initialize project as a local git repohub create- Create empty repo on Githubatom .- Open project in Atom editor- Create boilerplate files in our editor (usually some HTML and CSS)
git add .- Stages all changes for the current directorygit commit -m "Starting assignment"- Commits boilerplategit push origin master- creates a branch on Github calledmasterand sends boilerplate code toGithubgit checkout -b develop- creates a local develop branch starting with just the boilerplate commit- Make one small change
git add .- Stages all changes for the current directorygit commit -m "Your message of what you've done"- Commits new changes to localdevelopbranchgit push origin develop- creates a branch on Github calleddevelopand sends localdevelopcommits todevelopon Githubhub pull-request -m "Turning in assignment"- Creates a pull request on Github fromdevelopover tomaster- The terminal will show you a link to your pull request
- Submit link to pull request to assignment on online.theironyard.com
- Work on a checkpoint or feature
- Finish a checkpoint
- Get to an issue that you need review on
git add .- Stages all changes for the current directorygit commit -m "Your message of what you've done"- Commits new changes to localdevelopbranchgit push- Sends commits from all local branches that have places to branches on Github- Repeat 17-20 until complete
- DM Ryan or Kate on slack for assignment review