git_remote_create_detached

Create a remote without a connected local repo

Create a remote with the given url in-memory. You can use this when you have a URL instead of a remote's name.

Contrasted with git_remote_create_anonymous, a detached remote will not consider any repo configuration values (such as insteadof url substitutions).

@param out_ pointer to the new remote objects @param url the remote repository's URL @return 0 or an error code

extern (C) nothrow @nogc
int
git_remote_create_detached

Meta