mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 11:01:25 +01:00
fix(context): find the Gitea remote among all remotes of a clone
Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
6 files changed
+205
-27
No files matched your search
@@ -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:
|
||||
|
||||
|
||||
Reference in new issue
Block a user