Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] JGit sample client - starter

On 11 Mar 2010, at 10:03, Karthik K wrote:

> Hi -
>  I am trying to use JGit for one of the sample applications - where I am trying to use jgit to connect to a http uri , say  - git://github.com/apache/hbase.git , and retrieve the contents of the same.
> Can you help let me know a sample snippet using the jgit library , that I can take as a reference and go through the source tree , to get more. I am looking under org.eclipse.jgit as a starting point, but more pointers  / help related to that would be appreciated. Thanks.

There are number of tests that check out a repository. Would any of those help? By the way, the git:// protocol is different from the http:// protocol, so whilst it's a URI, it's not an HTTP URI.

Alex

Back to the top