I'm working on support in usethis for changing the default branch's name (locally and on GitHub) and (for a repo managed by someone else) detecting when the default branch has been renamed and adapting to that.
I really need git_branch_move(). Can that be exposed?
I'm working on support in usethis for changing the default branch's name (locally and on GitHub) and (for a repo managed by someone else) detecting when the default branch has been renamed and adapting to that.
I really need
git_branch_move()
. Can that be exposed?https://libgit2.org/libgit2/#HEAD/group/branch/git_branch_move