Вопрос

I am trying to figure out how to use this. I'm way out of my element here, so thanks for bearing with me.

Это было полезно?

Решение

Libgit2 works primarily on repositories that you have disk access to, meaning you have to clone the repository before you can use libgit2 to work with it.

Once you've got that, you'll get a handle to your repository using git_repository_open, and create the branch using git_branch_create.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top