fix(context): find the Gitea remote among all remotes of a clone

Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
bircni committed 2026-10-18 17:16:57 +02:00
1 parent 51709abdc0
commit bae885a4d2
6 files changed
+205 -27

No files matched your search

+4 -3
View File
@@ -290,9 +290,10 @@ func helpTopics(globals *pflag.FlagSet) []*cobra.Command {
` + indent(flagUsages(flags)) + `
tea selects the repository from --repo, TEA_REPO, git config tea.repository or a
Git remote (--remote, else the current branch's remote, upstream or origin), and the
instance from the repository URL, --host, TEA_HOST or GITEA_INSTANCE_URL, default_host,
or the only configured instance.
Git remote (--remote, else the current branch's remote, upstream or origin, skipping
remotes on instances without an account, or not on --host or the GITEA_TOKEN instance),
and the instance from the repository URL, --host, TEA_HOST or GITEA_INSTANCE_URL,
default_host, or the only configured instance.
Environment variables: