Remote.anonymous


Description:

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

Creates a remote with the specified refspec in memory.

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

Parameters:

repository

a Repository.

url

the remote repository's URL.

Returns:

a newly allocated Remote or null.