Skip to main content

fetch_tracking

Function fetch_tracking 

Source
pub fn fetch_tracking(remote: &str, branches: &[String]) -> Result<()>
Expand description

Refresh the remote-tracking refs (<remote>/<branch>) for branches that exist on remote, in a single fetch. Branches absent from the remote (a freshly created top of stack that was never pushed) are dropped rather than failing the whole fetch. A no-op when none of them are on the remote.