Skip to content
1 min read

fj tag

Manage git tags

fj tag [OPTIONS] <COMMAND>

Every command also accepts the global flags: --host, --debug, --no-pager, --json-fields.

Options

  • --color <COLOR> — When to use ANSI color in output [default: auto][possible values: auto, always, never]

fj tag list

List git tags in a repo

fj tag list [OPTIONS]

Options

  • -R, --repo <REPO> — Target repository as <owner>/<name>. Inferred from the git remote when omitted
  • --json — Emit JSON instead of a table
  • --color <COLOR> — When to use ANSI color in output [default: auto][possible values: auto, always, never]

fj tag view

View a git tag

fj tag view [OPTIONS] <TAG>

Arguments

  • <TAG> — Tag name

Options

  • -R, --repo <REPO> — Target repository as <owner>/<name>. Inferred from the git remote when omitted
  • --json — Emit JSON instead of a table
  • --color <COLOR> — When to use ANSI color in output [default: auto][possible values: auto, always, never]

fj tag create

Create a git tag

fj tag create [OPTIONS] <TAG>

Arguments

  • <TAG> — Tag name

Options

  • -R, --repo <REPO> — Target repository as <owner>/<name>. Inferred from the git remote when omitted
  • --target <TARGET> — Commit SHA or ref to tag. Defaults to the server’s default branch
  • --color <COLOR> — When to use ANSI color in output [default: auto][possible values: auto, always, never]
  • -m, --message <MESSAGE> — Annotated tag message. Omit for a lightweight tag

fj tag delete

Delete a git tag

fj tag delete [OPTIONS] <TAG>

Arguments

  • <TAG> — Tag name

Options

  • -R, --repo <REPO> — Target repository as <owner>/<name>. Inferred from the git remote when omitted
  • -y, --yes — Skip the confirmation prompt
  • --color <COLOR> — When to use ANSI color in output [default: auto][possible values: auto, always, never]
Contributors
  • Stephen Way