Change a repository with repo edit #42

Closed
opened 2026-10-22 22:13:20 -05:00 by jeff · 0 comments
Owner

Part of #36

zfj repo edit [<owner>/<repo>] [options]

  • The repository: <owner>/<repo>, or the clone's remote; no bare name.
  • Flags: --name (rename), -d/--description, --website, --default-branch, --private/--public, --archive/--unarchive, --template/--no-template.
  • Units: --enable <unit> / --disable <unit>, repeatable with commas, for issues, wiki, pull-requests, projects, releases, packages, actions (the has_* fields of EditRepoOption). An unknown unit is a usage error.
  • Renaming inside a clone whose remote names the old repository leaves the remote alone, since Forgejo redirects, and prints the git remote set-url command that would update it.
  • The merge-style and tracker settings stay with zfj op repoEdit.
Part of #36 `zfj repo edit [<owner>/<repo>] [options]` - **The repository:** `<owner>/<repo>`, or the clone's remote; no bare name. - **Flags:** `--name` (rename), `-d/--description`, `--website`, `--default-branch`, `--private`/`--public`, `--archive`/`--unarchive`, `--template`/`--no-template`. - **Units:** `--enable <unit>` / `--disable <unit>`, repeatable with commas, for `issues`, `wiki`, `pull-requests`, `projects`, `releases`, `packages`, `actions` (the `has_*` fields of `EditRepoOption`). An unknown unit is a usage error. - **Renaming inside a clone** whose remote names the old repository leaves the remote alone, since Forgejo redirects, and prints the `git remote set-url` command that would update it. - The merge-style and tracker settings stay with `zfj op repoEdit`.
jeff closed this issue 2026-10-22 23:35:07 -05:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
jeff/zfj#42
No description provided.