[ 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.
repository |
a Repository. |
name |
the remote's name. |
url |
the remote repository's URL. |
a newly allocated Remote or null. |