Skip to content

How to clone only one branch? #905

Description

@GreatBahram

Hi,
How should I clone only one single branch just like git clone --single-branch --branch branch_name?

Is this possible to clone only a specific number of commits? I mean a shallow clone instead of all commits like the way git clone --depth 1 acts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions