src repo edit
Update Repository
Usage
src repo edit [flags]
Examples
Update repository description
src repo edit --description "New description"
Change default branch
src repo edit --default-branch develop
Change visibility
src repo edit --visibility private
Flags
| Flag | Description |
|---|---|
-w, --web |
Open in browser after completion |
--silent |
|
--description string |
Description |
--default-branch string |
Default Branch. Must be an exisiting branch |
--visibility string |
(values: public, internal, private) |
Inherited flags
| Flag | Description |
|---|---|
--env string |
Override Sourcecraft environment (use 'src envs' to list available) |
--json string |
Output JSON, optionally filtered (--json or --json=field1,field2) |
--json-compact string |
Output compact JSON, optionally filtered |
--plain |
Output without colors/styling (for LLM consumption) |
-R, --repo string |
Select another repository using OWNER/REPO format |
-V, --verbose |
Enable debug logging output |
Learn more
Use src repo edit <subcommand> --help for more information about a command.