Skip to main content

pull

Function pull 

Source
pub fn pull(_path: &Path, _remote: &str, _branch: &str) -> Result<()>
Expand description

Pulls changes from a remote repository.

§Parameters

  • path: The path to the git repository.
  • remote: The name of the remote repository (e.g., “origin”).
  • branch: The name of the branch to pull.

§Returns

  • Ok(()) if the pull was successful.
  • Err(Error) if an error occurred during the pull process.