I would like to build an iOS app that includes some basic Git functionality. I basically only need pull, commit, and push capabilities. I'm new to iOS development so I am not aware of any frameworks or libraries that could provide these capabilities. I'm not sure if GitHub has an API for these features but that would suffice too.
Let me answer this old question with libgit2 library and their ObjectiveGit wrapper.
libgit2 is a portable, pure C implementation of the Git core methods provided as a re-entrant linkable library with a solid API, allowing you to write native speed custom Git applications in any language which supports C bindings.
ObjectiveGit provides Cocoa bindings to the libgit2 library. Even their licenses allow you to build closed-source software.
Found a random guide to making a commit with the API, no clue how accurate/useful it is.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With