-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
enhancementa request to improve CLIa request to improve CLIhelp wantedContributions welcomeContributions welcome
Description
Describe the feature or problem you’d like to solve
I want to create a fork and then clone it locally shallowly. This is not possible since gh repo fork --clone does not provide any options and does not return the repo name in a clean way.
Proposed solution
gh repo clone -- --depth 1 --single-branch $(gh repo fork --clone=false)or accept gitflags like gh repo clone does
gh repo fork --clone -- --depth 1 --single-branchHow will it benefit CLI and its users?
This speeds up the cloning progress. Adding support for gitflags will also align repo fork with repo clone
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementa request to improve CLIa request to improve CLIhelp wantedContributions welcomeContributions welcome