Rust

clone_type

Module

How a clone command checks out its version.

Contents

Rust
pub const BRANCH: &str = "branch"

A branch (created locally when the remote has none of that name).

Rust
pub const COMMIT: &str = "commit"

A commit hash.

Rust
pub const TAG: &str = "tag"

A tag, or a glob matching tags (the last one git ls-remote lists).