Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
JGit/FAQ
< JGit
Contents
How to inspect the git index
To see what's stored in the git index
- from git cli run git ls-files -v -s
$ git ls-files -v -s] <file type> <mode> <object> <stage> <file>) H 100644 dc701694e405702940dc97caada20a3e5d64bbba 0 .eclipse_iplog H 100644 f57840b7eec86b91b135afc40f20d950c5d86988 0 .gitattributes H 100644 1b85c64665f461a1ac948345c5f8034b751eda93 0 LICENSE ...
- The debug-show-dir-cache command provided by jgit.sh (get it from JGit download page) provides some more details
$ java -jar jgit-cli.jar --git-dir /c/git/jgit/.git debug-show-dircache <mode><length> <timestamp> <object> <file> 100644 871 20100706,131532.000 dc701694e405702940dc97caada20a3e5d64bbba .eclipse_iplog 100644 17 20100219,165448.000 f57840b7eec86b91b135afc40f20d950c5d86988 .gitattributes 100644 1716 20100706,131532.000 1b85c64665f461a1ac948345c5f8034b751eda93 LICENSE ...
Where can I find older releases of JGit?
It's recommended to use the latest released version of JGit, find it's p2 repository here http://download.eclipse.org/egit/updates. Find the list of older p2 repositories here
JGit versions up to 2.3.1
- Available from the JGit Maven repository at http://download.eclipse.org/jgit/maven/
- You can browse the jar files manually at http://download.eclipse.org/jgit/maven/org/eclipse/jgit/?d
JGit versions since 3.0.0
- Since 3.0.0 JGit maven artifacts are published on the Eclipse Nexus at https://repo.eclipse.org/content/repositories/jgit-releases/
JGit on Maven Central
- Since 1.2 the JGit libraries are also published on Maven central.
JGit Releases
Find more information about JGit releases in the project portal