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