Skip to content

[Exercise Discussion] T4L2/tags-add #61

@damithc

Description

@damithc

Existing exercise check

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:

  1. Add a lightweight tag first-pilot to the first commit of the repo.
  2. Add the annotated tag v1.0 to the commit that updates March duty roster. The tag should have the message first 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

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions