Skip to content

Clarify --clone behaviour in gh repo fork #5925

Description

@barrettj12

I was not aware that the --clone flag in gh repo fork takes a boolean argument (e.g. --clone=false). The help text doesn't make this clear - it looks like it doesn't take an argument. This should be updated to make it clear that all the following are valid:

gh repo fork foo/bar
gh repo fork foo/bar --clone
gh repo fork foo/bar --clone=true
gh repo fork foo/bar --clone=false

Metadata

Metadata

Labels

docsenhancementa request to improve CLIgh-reporelating to the gh repo commandhelp wanted candidateIssue may be marked as help-wanted but not yet ready to accept PR

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions