libgit2

git_remote_create_options

Version:

Remote creation options structure

Initialize with GIT_REMOTE_CREATE_OPTIONS_INIT. Alternatively, you can use git_remote_create_options_init.

Signature

typedef struct git_remote_create_options { unsigned int version git_repository *repository const char *name const char *fetchspec unsigned int flags };

Members

unsigned int
version
repository

The repository that should own the remote. Setting this to NULL results in a detached remote.

const char *
name

The remote's name. Setting this to NULL results in an in-memory/anonymous remote.

const char *
fetchspec

The fetchspec the remote should use.

unsigned int
flags

Additional flags for the remote. See git_remote_create_flags.

Parameter To

Versions