Is it possible to embed git in the iPhone app? Only in a passive mode, i.e. to be able to read commit messages (with date and user) and diffs given some online git repository in order to present it in some readable table views?
Git is a important part of our work-life and iOS can take part in this. The ability to commit even when offline has added utility on a device that moves in and out of network coverage. Cloning repositories gets you a local copy on your iOS device with commits for all branches.
To get started, you need to enable Working Copy as a Location in the Files app. (For more information, please check Apple's support website.) Now, open Repositories in Working Copy, tap the + icon and select “Clone repository”. Then, choose an available repository, and tap “Clone”.
GitHub Mobile is available as an Android and iOS app.
The Git GUI client is a tool that allows the developer to work with this version control system in a visual mode. It does not require writing commands manually, offering a convenient graphical interface with the in-built options. This way, one can perform the tasks faster and in a more comfortable manner.
I'm one of the co-authors of cocoagit, which is currently an unfinished implementation of the core git functionality in Objective-C. There has not been much activity in the last 6 months. Unfortunately, it is not far quite far enough along to do everything you need. We can read commits, and have preliminary support for cloning repos, but we can't do diffs yet. Geoff and I would both like to have more time to work on it again, but in the meantime, we would gladly welcome any contributions.
Alternatively, I second the recommendations of previous posters to consider using github, or building your own web service to provide the necessary data.
Git (the command-line client) has been ported to jailbroken iPhones.
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