Cloning remote repository using Java Api

Is there any option to clone remote repository to local system using api, We need an api to checkout a particular version of source file from remote repository. Does Jgit having option to checkout source from remote repository or any other api having the option. kindly suggest an stable api that is capable for above requirement.

Answers


The jGit library is used for the Git implementation of Eclipse. All requirements you mention above are supported by this tool.

Did you make a simple search on Google before asking? The first result pointed to the following thread: http://www.eclipse.org/forums/index.php/mv/tree/162717/ Hope it helps...


JGit can do this by using the cloneRepository.


Need Your Help

How to obtain an application's Bundle ID (or plist path) from only the PID?

macos bash shell plist nsuserdefaults

Similar to "How to find Bundle Identifier from known PID?" and to "How to read plist information (bundle id) from a shell script, but different.. as those are both related to Xcode build variable

SPSS looping through a set of variables in combination with if-statement

loops if-statement vector spss

I've got 53 variables named W1_C14_0 to W1_C14_52, and each has a value from 1 to 15. I need to find how many "spells" of each number there are in this list - i.e. how many seperate runs of 1's, 2'...