libgit2

git_config_delete_entry

Version:

Delete a config variable from the config file with the highest level (usually the local one).

Signature

int git_config_delete_entry(git_config *cfg, const char *name);

Parameters

In
cfg

the configuration

const char *
In
name

the variable to delete

Returns

int

0 or an error code.

Versions