Pular para o conteúdo
ReferênciaCLI

jiraya repo

Referência do comando jiraya repo da CLI do Jiraya: subcomandos, uso, flags e exemplos, gerados a partir da ajuda.

Work with repositories

Subcomandos

ComandoDescrição
jiraya repo addAdd repositories to the workspace registry
jiraya repo checkoutCheck out a repository into the working directory
jiraya repo listList workspace repositories
jiraya repo propertyManage custom property values on a workspace repository
jiraya repo removeRemove repositories from the workspace registry

jiraya repo add

Add repositories to the workspace registry

Adds one or more repository URLs to the current workspace repository registry. Existing URLs are not duplicated. Use project resources when you need project-specific context instead.

Uso

jiraya repo add [url]... [flags]

Flags

FlagDescriçãoPadrão
--description stringOptional description; only valid when adding one URL
--output stringOutput format: table or jsonjson
--url stringArrayRepository URL to add (may be repeated)

jiraya repo checkout

Check out a repository into the working directory

Creates a git worktree from the daemon's bare clone cache. Used by agents to check out repos on demand.

Running it again where the repository is already checked out never silently discards work: a checkout that has uncommitted changes, untracked files, or unpushed commits, or is already on this task's branch, is kept as it is and only its remote refs are fetched. Pass --fresh to discard its uncommitted changes and untracked files and start over on a new branch; commits stay on the old branch, but push any you still need first.

When the task's project has one or more github_repo resources associated, checkout is restricted to those repositories: a URL outside that list is refused (403) and nothing is checked out. The refusal message names the requested URL and lists the repositories the project allows. The list is re-read from the server on every checkout, so adding or removing a project repository takes effect on the next call. SSH and HTTPS URLs for the same repository (with or without a trailing .git) are treated as identical. A project with no github_repo resources, or a task with no project, is not restricted. If the daemon cannot reach the server to verify the allowlist, checkout fails closed rather than letting an unverifiable URL through.

Uso

jiraya repo checkout <url> [flags]

Flags

FlagDescriçãoPadrão
--freshdiscard an existing checkout's uncommitted changes and untracked files and start over on a new branch from the latest default branch (or --ref); commits stay on the old branch
--ref stringbranch, tag, or commit to check out instead of the remote default branch

jiraya repo list

List workspace repositories

Lists the repository registry for the current workspace. These are workspace-level repos, separate from project resources.

Uso

jiraya repo list [flags]

Flags

FlagDescriçãoPadrão
--output stringOutput format: table or jsontable

jiraya repo property

Manage custom property values on a workspace repository

jiraya repo property list

List custom property values set on a repository

Uso

jiraya repo property list <repo-url-or-id> [flags]

Flags

FlagDescriçãoPadrão
--output stringOutput format: table or jsontable

jiraya repo property set

Set a custom property value on a repository (workspace owner/admin only)

Set a custom property value. The property is addressed by --name (case-insensitive) or UUID, resolved against the repository-scope catalog (equivalent to 'jiraya property list --scope repository'). Value forms by type match 'jiraya issue property set':

select        --value Staging            (option name or id)
multi_select  --value "iOS,Android"      (comma-separated option names or ids)
actor         --value Bohan             (member name, email, or id)
multi_actor   --value "Bohan,Jiayuan"   (comma-separated members)
checkbox      --value true|false
number        --value 3.5
date          --value 2026-07-13
text / url    --value "any string"

Writing a value requires workspace owner/admin, unlike issue property values, which any member or agent may write.

Uso

jiraya repo property set <repo-url-or-id> [flags]

Flags

FlagDescriçãoPadrão
--name stringProperty name or UUID (required)
--output stringOutput format: table or jsontable
--value stringProperty value (required; see --help for per-type forms)

jiraya repo property unset

Remove a custom property value from a repository (workspace owner/admin only)

Uso

jiraya repo property unset <repo-url-or-id> [flags]

Flags

FlagDescriçãoPadrão
--name stringProperty name or UUID (required)
--output stringOutput format: table or jsontable

jiraya repo remove

Remove repositories from the workspace registry

Removes one or more repository URLs from the current workspace repository registry.

Uso

jiraya repo remove [url]... [flags]

Aliases: rm

Flags

FlagDescriçãoPadrão
--output stringOutput format: table or jsonjson
--url stringArrayRepository URL to remove (may be repeated)

Atualizado em

Nesta página