Skip to content

Add --depth flag to clone #1456

@dfang

Description

@dfang

Describe the feature or problem you’d like to solve

Add --depth flag to clone. sometimes we want to clone a demo/boilerplate project or something else to local for testing, it would be nice to be like git.

Proposed solution

improved speed for a large repo, a user who have to clone with a proxy.

Additional context

gh repo clone --depth 1 user/repo

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa request to improve CLIhelp wantedContributions welcome

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions