Add, remove and list remotes.

git_remote_list(repo = ".")

git_remote_add(name, url, refspec = NULL, repo = ".")

git_remote_remove(name, repo = ".")

git_refspecs(repo = ".")

Arguments

repo

a path to an existing repository, or a git_repository object as returned by git_open, git_init or git_clone.

name

unique name of the remote

url

server url (https or ssh)

refspec

optional string with the remote fetch value