-
Notifications
You must be signed in to change notification settings - Fork 0
Git and GitHub During the Assignment
Git and GitHub help you save, back up, and recover your Module Four work.
They are not the assignment submission or grading system.
GitHub = development and backup
D2L Brightspace = submission, grading, and instructor feedback
After setup, your local folder should be:
~/Repos/it140-m4-assignment
Your GitHub remote should point to the private repository in your own GitHub account, not directly to the public GC-STEM template.
Check with:
git remote -vSave files normally in VS Code while working.
Periodically commit and push so GitHub contains a recent backup.
You can use VS Code Source Control or the command line.
From the repository root:
git status
git add hilow_game_sdw.md design/hilow_game.pseudo src/hilow_game.py
git commit -m "Save Module Four assignment progress"
git pushOnly changed files are included in a commit.
Run:
git statusExpected student-editable files are:
design/hilow_game.pseudo-
hilow_game_sdw.mdif you use it -
src/hilow_game.pyif you complete optional practice
If a README, SRS, SDD, Draw.io file, test, or .github file appears unexpectedly, determine why before committing it.
Your personal repository runs Assignment Checks when you push.
While you are still working, a red X may simply mean the graded pseudocode still contains starter TODO prompts or has not changed from the starter state.
A green check confirms basic repository and file-state conditions. It does not grade the pseudocode.
If your personal repository already exists on GitHub but is not on the current computer, clone the existing repository instead of creating a new one:
cd ~/Repos
gh repo clone "$(gh api user --jq .login)/it140-m4-assignment"
cd it140-m4-assignment
git statusIf a setup command says the repository or local folder already exists, do not repeatedly rerun the creation command.
Check whether the existing repository contains work you need to keep.
The root README includes restore and restart procedures for different situations.
Before deleting, renaming, resetting, or recreating anything:
- save open files;
- commit and push good work when possible; or
- make a backup copy of the local folder.
Prefer recovery that preserves work over starting over.
Pushing hilow_game.pseudo to GitHub does not submit the assignment.
After your design is complete, return to D2L Brightspace and upload the required .pseudo file according to the current Module Four assignment instructions.
Return to Home or continue to Assignment Problems and Support.