The following example partially reimplements the git tag command
and some of its options.
These commands should work:
- Tag name listing (tag)
- Filtered tag listing with messages (tag -n3 -l "v0.1*")
- Lightweight tag creation (tag test v0.18.0)
- Tag creation (tag -a -m "Test message" test v0.18.0)
- Tag deletion (tag -d test)
The command line parsing logic is simplified and doesn't handle
all of the use cases.
The following example partially reimplements the git tag command and some of its options.
These commands should work:
- Tag name listing (tag) - Filtered tag listing with messages (tag -n3 -l "v0.1*") - Lightweight tag creation (tag test v0.18.0) - Tag creation (tag -a -m "Test message" test v0.18.0) - Tag deletion (tag -d test)
The command line parsing logic is simplified and doesn't handle all of the use cases.