Dr. Greg Bernstein
August 11th, 2021
To establish your private remote assignment repository we will give students a special URL via Blackboard.
This URL will create a private project repository for you on GitHub associated with our class and your GitHub account.
Only need to do this once!
Let me know if you don’t see your NetID, continue anyway
Your view may be different
Everyone gets their own repo
Don’t ever use this GitHub “feature”!
Click on the green “Code” button
Using the git command line (same for all platforms)
Including removing, creating files and dirs
Reload page to see changes to README.md
README.md
fileREADME.md
file counts as a homework submission.Interactive Questions
Just a few options that I use
Use of a git GUI is optional, but recommended
Adding a local repo
Prior to any new changes
After some changes
After commit prior to push
log
command, i.e., git log
How to find commit history on GitHub
Tells us a lot about how work on the project was conducted
We will use a different git branches for each assignment.
The first assignment will use the default master branch.
Git commit hashes are timestamped and these are used to determine if an assignment is on time.
To turn in your assignment you must commit and push to your class repository prior to the submission deadline.
You must make sure your name and NetId are in your README.md file
You may make many commits and pushes, only the last (prior to submission deadline) will be graded.
Make sure repo/working files are sync’d with git status
. Fix things up otherwise.
Checkout to a new branch with the exact name I give you git checkout -b anotherHomework