How to push (with libgit2)
How do I do a push with libgit2? (Like git push origin master on console) I want to use the C version. Cloning, opening, adding files to index and committing work like a charm (see code ). The test-bare-repository is local. Unfortunately, reference and documentation did not help me. Examples are very rare and mostly outdated ( like this , the git_push_new() function seems to be gone). I'm guessing for some hours now and I think I tried all meaningfull combinations of code snippets from reference and examples . Edit: I fear there is no possibility to do that with libgit2 at all. Can anyone