create_remote


Description:

public Remote? create_remote (string name, string url) throws Error

Adds a remote with the default fetch refspec to the repository's configuration.

Parameters:

this

a Repository.

name

the name of the new remote.

url

the url of the remote.

Returns:

a new Remote or null if there is an error.