Skip to main content

remove_remote

Function remove_remote 

Source
pub fn remove_remote(_path: &Path, _name: &str) -> Result<()>
Expand description

Removes a remote repository.

§Parameters

  • path: The path to the git repository.
  • name: The name of the remote repository to remove.

§Returns

  • Ok(()) if the remote was removed successfully.
  • Err(Error) if an error occurred during the process.