Activity Submissions (via git)

Overview of Submissions

All of digital work in CS 205 will be submitted via engr.illinois' gitlab repository. (Instructions to set up your gitlab can be found here.) You are encouraged to submit your work as often as you would like, as we will only grade the latest submission.

Every activity in CS 205 will have a base directory (like: project_uiuc). In order for your work to be graded, all work must be done in the directory and you must run the submission commands from that directory.


Submission Details

When you are ready to submit your work, open a command line and navigate into your project_uiuc directory (you will go into your cs205 directory, then into your workbook directory, and then into your project_uiuc directory).

Once in your project_uiuc directory, add the file(s) you created for the activity to your local git repository. This is done via the following command:

git add -A

Run git status to ensure your file is added and "staged" for submission (your file(s) should be in green font). If your file is not listed in green font as added, repeat the previous step.

Once your file(s) is/are staged, they are ready to be committed. The commit process places them into your local git repository. To do this, run:

git commit -m "submission"
...you can replace the "submission" with any text you'd like, though you must have at least some commit message for git to work.

Finally, you need to push these changes from your local git repository to your origin repository located on engr.illinois's server. To do this, run:

git push origin master


List of All Necessary Commands

As a summary, you will need to run the following commands from your project_uiuc directory in order to ensure a submission:

git add -A
git commit -m "submission"
git push origin master

Checking Your Submission

You can verify your submission was successful by the following steps:

  1. Visit http://gitlab-beta.engr.illinois.edu/; login if necessary
  2. Click on your CS 205 workbook repository from the list of repositories.
  3. Click the Repository tab, found near the top of the page.
  4. Browse into your project_uiuc directory.
  5. Click on the files you edited to ensure the contents are what you expect.