GitLab Workbook Submission Instructions
Overview
All workbook submissions in CS559 are managed through UW GitLab:
Unlike GitHub Classroom, you do not need to accept an assignment invitation and you do not create your own repository.
Instead:
- Course staff create a private GitLab subgroup for each student.
- Course staff create workbook repositories for each assignment.
- Students clone their workbook repository, complete the assignment, and push their changes back to GitLab.
Before the First Workbook
Log in to UW GitLab:
Click on
Groupsin the left sidebar.Verify that you can see your private subgroup under one of the following hierarchies (you may need to expand folders in order to do so):
| |
| |
The name of your subgroup is your NetID. Your subgroup is where you will be able to find your workbooks and any other course assignments assigned through GitLab.
- If you cannot find your subgroup, contact the course staff immediately.
Accessing a Workbook
When a workbook is released, a repository will appear inside your subgroup:
| |
For example:
| |
You should only be able to see your own subgroup and repositories.
You should not be able to see other students’ repositories.
Clone the Repository
Open your workbook repository in GitLab and copy the HTTPS clone URL.
Clone the repository:
| |
Example:
| |
If prompted for authentication, use your UW GitLab credentials or personal access token.
Working on the Workbook
Work normally using Git:
| |
You may commit and push as often as you like.
The GitLab repository is your submission record.
Submission
There is no separate upload step.
Your submission is:
The most recent commit pushed to GitLab before the deadline.
Be sure to push your work:
| |
before the due date.
Local commits that have not been pushed are not submitted.
Verify Your Submission
After pushing:
- Refresh the GitLab repository page.
- Verify that your latest commit appears.
- Verify that the files shown match what you intend to submit.
Personal Access Tokens (PAT)
GitLab may occasionally ask for authentication when cloning, pulling, or pushing using HTTPS.
In these cases, use a Personal Access Token (PAT) instead of your password.
Creating a Personal Access Token
Log in to UW GitLab:
Click your profile picture in the upper-right corner.
Select:
1 2Edit Profile → Access TokensCreate a new token:
1 2Name: CS559 Expiration Date: (your choice)Enable the following scopes:
1 2✓ read_repository ✓ write_repositoryClick:
1Create personal access tokenCopy the token immediately and store it somewhere safe.
GitLab will only display the token once.
Using the Token
When Git asks for credentials while cloning, pulling, or pushing:
Username
| |
Password
| |
Use the personal access token, not your UW password.
Example
| |
Git may prompt:
| |
Enter:
| |
Then:
| |
Enter:
| |
(your personal access token).
Credential Managers
Most Git installations remember credentials after the first successful authentication.
If your computer offers to save the token securely, you may do so.
Lost or Compromised Tokens
If a token is lost, accidentally shared, or committed to a repository:
Return to:
1 2Edit Profile → Access TokensRevoke the token.
Create a new one.
Treat personal access tokens like passwords.
Never post them publicly or include them in repositories.
Important Notes
Do Not Rename Repositories
Workbook repositories should keep their assigned names:
| |
Do not rename repositories.
Do Not Change Permissions
Do not modify repository membership or permissions.
Keep Repositories Private
Do not share repository URLs or Git access with other students.
Template Repositories
Course staff maintain separate workbook templates.
Students do not need to:
- create repositories,
- fork repositories,
- add remotes,
- or manage repository permissions.
All required repositories are created automatically by the course staff.
Frequently Asked Questions
I cannot see my workbook repository.
Confirm that you can access:
| |
If the workbook repository is missing, contact the course staff.
I can commit locally but cannot push.
Verify that:
- You are logged into UW GitLab.
- You are pushing to the correct repository.
- You are using the correct GitLab credentials or personal access token.
If the issue persists, contact the course staff and include the full error message.
Can I make multiple pushes before the deadline?
Yes.
You may push as many times as you like.
The latest commit pushed before the deadline will be graded.
What happens if I forget to push?
Only commits that have been pushed to GitLab are considered submitted.
Local commits remaining on your computer are not visible to course staff and cannot be graded.
Getting Help
Please contact the course staff if:
- you cannot access GitLab,
- you cannot see your workbook repository,
- you cannot push to your repository,
- or you believe your submission is missing.
When contacting course staff, include:
- your NetID,
- the workbook name (for example,
WB1), - and any error messages you received.
Submission Checklist
Before every deadline:
- Commit all changes.
- Push all changes.
- Verify the latest commit appears on GitLab.
- Verify all required files are present.
- Confirm the push occurred before the deadline.
If all items above are checked, your workbook has been successfully submitted.