Skip to main content

fetch

Function fetch 

Source
fn fetch(dir: &Path, branch: &str) -> bool
Expand description

Fetch the remote branch tip into FETCH_HEAD (deepened so behind-counts work on the shallow clones boot creates). Returns false when fetch fails.