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.