Function configure_remote

Source
pub fn configure_remote<'r>(
    repo: &'r Repository,
    name: &str,
    fetch: &Url,
    push: &Url,
) -> Result<Remote<'r>, Error>
Expand description

Configure a repository’s radicle remote.

The entry for this remote will be:

[remote.<name>]
  url = <fetch>
  pushurl = <push>
  fetch = +refs/heads/*:refs/remotes/<name>/*
  fetch = +refs/tags/*:refs/remotes/<name>/tags/*
  tagOpt = --no-tags