Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add reference by commit hash support #18

@braydonf

Description

@braydonf

As there isn't currently a way to clone by arbitrary hash, only tags and branch heads are available when using git clone --depth 1 --branch <tag|branch> <repo>, it will be necessary to clone the entire repository and then navigate to the hash. This is inefficient, so such usage should be discouraged. However there may be some cases when it will be desirable, for example in implementing a lockfile. With the entire repository already mirrored locally, in a cache, it is less of an inefficiency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions