git_submodule_set_branch

Set the branch for the submodule in the configuration

After calling this, you may wish to call git_submodule_sync() to write the changes to the checked out submodule repository.

@param repo the repository to affect @param name the name of the submodule to configure @param branch Branch that should be used for the submodule @return 0 on success, <0 on failure

extern (C) nothrow @nogc
int
git_submodule_set_branch
(,
const(char)* name
,
const(char)* branch
)

Meta