IMPORTANT GUIDELINE:
- [ ] Whenever your program goes from "not compiling" to "compiling"...
- [ ] Review what changes you made
git diff sourceCodeFileName.c
- [ ] Take a snapshot!
git add sourceCodeFileName.c
git commit -m "Summary of what you changed/fixed/added since last snapshot"
The first time you turn in work
- [ ] When your most recent snapshot represents work you want to turn in, tag it.
git tag -a FLAST.prog.NUM.LET -m "Turning in program NUM part LET"
- [ ] Get the tag name and commit hash for posting in Moodle
git show FLAST.prog.NUM.LET
- [ ] In the correct Moodle assignment, post tag and hash, save your changes, and "Send for Marking"
When you're resubmitting/redoing work:
- [ ] Check which redo's you've already tagged
git tag
- [ ] When your most recent snapshot has a redo of work you want to turn in, tag it.
git tag -a FLAST.prog.NUM.LET.redoNUM -m "redoNUMth redo of program NUM part LET"
- [ ] Get the tag name and commit hash for posting in Moodle
git show FLAST.prog.NUM.LET.redoNUM
- [ ] In the correct Moodle assignment (which should have been reverted to draft status), post the new tag and new hash, and resend for marking.
Ещё видео!