Remote


Description:

[ CCode ( has_construct_function = false ) ]
public Remote (Repository repository, string name, string url) throws Error

Creates a remote with the default refspecs in memory.

You can use this when you have a URL instead of a remote's name.

Parameters:

repository

a Repository.

name

the remote's name.

url

the remote repository's URL.

Returns:

a newly allocated Remote or null.