libgit2

git_remote_set_autotag

Version:

Set the remote's tag following setting.

The change will be made in the configuration. No loaded remotes will be affected.

Signature

int git_remote_set_autotag(git_repository *repo, const char *remote, git_remote_autotag_option_t value);

Parameters

In
repo

the repository in which to make the change

const char *
In
remote

the name of the remote

In
value

the new value to take.

Returns

int

0, or an error code.

Versions