Skip to main content

PLACEHOLDER_HEAD

Constant PLACEHOLDER_HEAD 

Source
pub const PLACEHOLDER_HEAD: &str = "ref: refs/heads/main\n";
Expand description

The HEAD a new repository starts with: a branch that does not exist yet. The shadow’s ref steps point HEAD at the transaction’s own target before any Git command reads it.