marstr / marstr/baronial

Add command for creating a tag

Open
#31 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
13
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Tags are like branches, but immutable. A command should be available for creating a new tag. The syntax `baronial tag {name} [RefSpec]` where HEAD is the implict `RefSpec` feels appropriate.

Contributor guide

Open the contributing guide

Research direction

Start at the repository's existing command entry point and inspect how branch creation and RefSpec resolution are implemented. Add the tag command using the proposed `baronial tag {name} [RefSpec]` syntax, defaulting to HEAD, and verify that the created tag cannot be changed.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.