Agit: Git client

Agit: Git client

1,000 - 5,000 downloads

Add this app to your lists
Agit is a Git client for Android devices, allowing you to checkout the entire history of a Git repository while on the move, review changes and store for full offline access.

• Clone remote Git repositories onto your phone!
• Just like regular Git, the full history is stored for offline access.
• Animated Diffs - Watch diffs smoothly transition from Before to After - and back again. I'm using 'smooth' figuratively here. It's still pretty cool.
• Supports git, http, https, ssh protocols:
- see https://github.com/rtyley/agit/wiki/HTTP for details about HTTP authentication
- see https://github.com/rtyley/agit/wiki/SSH or watch http://youtu.be/6YXR-ZhZ1Qk for SSH setup instructions
• Pull-to-refresh fetching
• Currently this is a 'read-only' client. You can clone & fetch, but not commit and push. I haven't yet had time to build all the user interface around that - but I reckon implementing pinch-gesture-branch-merge would be fun.
• Periodic sync enabled on Android 2.2 and later - latest commits fetched quarter-hourly.
• Cloning substantial projects (eg Mongo, JQuery) will take a few minutes to perform - fortunately subsequent fetches will be much faster.
• Due to limitations in Java/JGit (the underlying library used by Agit for Git support) the following features are unfortunately unsupported: submodules, symbolic links.

Android devices have limited memory, and due to the nature of Git delta-packing individual large files in your repo (eg around 5MB or above) can cause unavoidable out-of-memory errors, even on modern devices. This doesn't constrain overall repository size - which can be much bigger - it only constrains the *largest files* you can have in your repository's history. More information here:

https://github.com/rtyley/agit/wiki/Memory

To help users fix the large-file repos that Agit has trouble with, I've developed a The BFG, a command line tool purpose-built for slimming down Git repositories:

http://rtyley.github.com/bfg-repo-cleaner/

The BFG is a much simpler and faster alternative to using git-filter-branch, and makes it easy to clean up repositories so that they can be read by Agit.

Tags: git client, client git, agit, agit 127, git, best repos, agit 125 apk, @git#1, agit apk, agit git.

Recently changed in this version

v1.39 sets the 'largeHeap' option in the AndroidManifest.xml to true, which on devices running Android v3.0+ (Honeycomb) may increase the chances of cloning repos which contain large (>5MB) files (Thanks to Patrick Moor for pointing this option out!).

This release also drops support for Android v2.2 (Froyo) and will be the last release to support pre-4.0 (Ice-Cream Sandwich) devices.


Screenshots Agit: Git client
View bigger - Agit: Git client for Android screenshot
View bigger - Agit: Git client for Android screenshot
Comments and ratings for Agit: Git client
  • (67 stars)

    by Andrii Kovalov on 05/04/2014

    Doesn't work with xp dev

  • (67 stars)

    by Chris Guidry on 21/01/2014

    It can clone and fetch privately hosted repos over SSH on a non-standard port with only public key authentication. Make sure you read his docs on his ConnectBot port first. Great work, I can code-review on the move!

  • (67 stars)

    by Aydar No on 22/11/2013

    Buy the program but cant clone the puhlic repo on bitbucket. The repo from github cloned fine. Why bitbucket not supported? Why?

  • (67 stars)

    by Andrea Rota on 10/10/2013

    Some UI and usability quirks (eg diff display may be hard to follow properly, some basic commit and push ability would be great), but nevertheless a little free software gem very useful to study code on the go. Lifesaver as file sync trick for my sdcard-less tablet too.

  • (67 stars)

    by Felipe Rodriguez on 12/08/2013

    The app is very fast and easy to use, cloning is very straightforward and the support via mail is very responsive (reply came during the same day). I hope that in the near future this supports push. Then it will be even more awesome. Very good work!

  • (67 stars)

    by Jean M. Fairlie on 07/08/2013

    When checking diffs. Unacceptable. Please fix.

  • (67 stars)

    by Ondrej Danko on 26/07/2013

    Missing push