Skip to main content

pull_ff_only

Function pull_ff_only 

Source
pub fn pull_ff_only(remote: &str, branch: &str, verbose: bool) -> Result<()>
Expand description

Pull from a remote branch (fast-forward only, safe)

Returns an error if the pull cannot be done as a fast-forward, which happens when the local branch has diverged from the remote.