Submitting your Lab

Commit changes before you submit

Ideally, you'd commit small changes as you go. At a minimum, make sure that you commit your changes to your local repository each time you are wrapping up a coding session or about to take a break. From the terminal tab, make sure you're in your repo's directory. Then use the following command to commit all changes you've made to files being tracked by git in the current repository.

git commit -a -m "Completed"

Including "Completed" in the commit message lets the instructor and/or TA know that you're done with the assignment.


Push commits to Github

  • Return to the terminal tab, make sure you're in your repo's directory.

  • Run the following commands

git push