Working with remote repository without downloading it completely

Дарья Карпенко April 9, 2017

Hi,

Now I using JGit library to working with some repositories on GitHub, GitLab, Bitbucket in my plugin for Jira. I need to get all commits from remote repository and working with them (getting author, date, diffs and other). I clone repository to local system and working with them, but it is nesessary do it without downloading repository completely.

I have some way to resolve this issue:

  • using org.eclipse.jgit.storage.dfs.InMemoryRepository 
  • using GitHub, GitLab, Bitbucket API
  • using cmd commands

Which way is correct or does you have another? It would be nice if you shared examples.

Thanks.

1 answer

0 votes
Grigory Salnikov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 11, 2019

Hi @Дарья Карпенко!

Did you manage to find the right answer to your question?

Suggest an answer

Log in or Sign up to answer