-
Notifications
You must be signed in to change notification settings - Fork 19
Labels
approvedexercise discussionDiscussion about the design of an exerciseDiscussion about the design of an exercise
Description
Existing exercise check
- I have verified that this exercise is not yet already in discussion, in progress, or exists
Lesson
https://nus-cs2103-ay2526s1.github.io/website/book/gitAndGithub/tag/
Exercise learning outcomes
Able to add annotated and light-weight tags
Exercise setup
Inputs to the new.sh:
Exercise name: tags-add
Tags (space separated): git-tag
Requires Git? (defaults to y) [y/N]: y
Requires Github? (defaults to y) [y/N]: y
Exercise repo type (local, remote, or ignore) (defaults to 'local'): remote
Exercise repo name (defaults to 'view_commits'): duty-roster
Git-Mastery Github repository title (defaults to ''): gm-duty-roster
Create fork of repository? (defaults to y) [y/N]: N
Clone the repo git-mastery/gm-duty-roster as duty-roster.
Instructions for students
Scenario: The duty-roster repo contains text files that track which people are assigned for duties on which days of the week.
Task:
- Add a lightweight tag
first-pilotto the first commit of the repo. - Add the annotated tag
v1.0to the commit that updates March duty roster. The tag should have the messagefirst full duty roster.
Exercise grading
Check both tags exist, in the specified commits. Check the tag message is as specified.
Requires remote repository?
https://github.com/git-mastery/gm-duty-roster
Additional remarks
No response
Metadata
Metadata
Assignees
Labels
approvedexercise discussionDiscussion about the design of an exerciseDiscussion about the design of an exercise