copia-cli repo fork
copia-cli repo fork <owner/repo> [flags]
Create a fork of a Copia repository. By default the fork is created under the authenticated user. Use –org to fork into an organization.
Options
-o,--org <string>- Fork to organization
Options inherited from parent commands
-
--host <string> - Target Copia host
-R,--repo <string>- Select repository (owner/repo)
-
--token <string> - Authentication token
Examples
# Fork a repository
$ copia-cli repo fork upstream-org/project
# Fork into an organization
$ copia-cli repo fork upstream-org/project --org my-org