From cde9396e70154418ac6646e6c4c6743d47092595 Mon Sep 17 00:00:00 2001 From: Gitea Actions Bot Date: Tue, 22 Sep 2026 07:14:38 +0000 Subject: [PATCH] chore(docs): regenerate manual, man page, and component registry --- docs/fish-config.1 | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/docs/fish-config.1 b/docs/fish-config.1 index b22f5d6..fff3964 100644 --- a/docs/fish-config.1 +++ b/docs/fish-config.1 @@ -1742,10 +1742,11 @@ hist .nf \f[C] Synopsis: mkrep [--cd | --no-cd] [--mkdir | --no-mkdir] [--git | --no-git] - [-c | --clean | --no-clean] [--strict] [-v | --verbose] - [-s | --silent] [--template ] [--branch ] - [--remote ] [--new-remote []] [--server ] - [--check-existing] [-y | --yes] [--name ] [-h | --help] + [-c | --clean | --no-clean] [--strict] [-l | --local] + [-v | --verbose] [-s | --silent] [--template ] + [--branch ] [--remote ] [--new-remote []] + [--server ] [--check-existing] [-y | --yes] + [--name ] [-h | --help] Creates a directory, cds into it, and git-inits it -- mkcd plus a git repo in one step. All three actions are on by default and each has a @@ -1758,6 +1759,15 @@ the directory already exists. The two compose: --clean runs first, so --clean --strict together is not a contradiction -- strict sees an empty slot because clean just emptied it. +-l/--local forces strictly local action: any flag or environment +variable that would link to, create, or check a remote (--remote, +--new-remote, --server, --check-existing, $GIT_SERVER, $GITEA_URL, +$GITEA_HOST, $GITLAB_URL, $GITLAB_HOST, $MKREP_REMOTE_CMD) is +overridden and ignored. Even when passed alongside conflicting remote +flags like --server or --remote, -l/--local takes precedence and +proceeds with local directory creation and git initialization without +erroring or contacting any forge. + --remote links an already-existing remote (git remote add origin ) -- it does not create anything. Linking is idempotent: an origin already pointing at that URL is reported and accepted, so rerunning @@ -1820,6 +1830,9 @@ Arguments: -c, --clean Remove first if it already exists --no-clean Leave an existing alone (default) --strict Fail if already exists (checked after --clean) + -l, --local Force local-only operation; overrides and ignores any + remote flags (--remote, --new-remote, --server, + --check-existing) and remote environment variables -v, --verbose Print each step as it runs -s, --silent Suppress all output; overrides --verbose --template @@ -1846,6 +1859,7 @@ Exit Status: Example: mkrep \[ti]/projects/my-new-repo mkrep --clean --strict \[ti]/projects/scratch +mkrep -l \[ti]/projects/my-local-repo mkrep --remote git\[at]git.example.com:me/foo.git \[ti]/projects/foo set -Ux MKREP_REMOTE_CMD \[aq]gh repo create {name} --private --source=. --remote=origin --push\[aq] mkrep --new-remote \[ti]/projects/foo