Registry / utility / org-eclipse-jgit

org-eclipse-jgit

JSON →
library7.6.0.202603022253-rjavamavenunverified

A lightweight, pure Java library implementing the Git version control system.

<dependency> <groupId>org.eclipse.jgit</groupId> <artifactId>org.eclipse.jgit</artifactId> <version>7.6.0.202603022253-r</version> </dependency>
INSTALL
IMPORT
SIG · ORG-ECLIPSE-JGIT
O
org-eclipse-jgit
utilityjavav7.6.0.202603022253-r
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Git
org.eclipse.jgit.api.Git

Initializes a new Git repository using JGit's high-level API.

import org.eclipse.jgit.api.Git; import org.eclipse.jgit.api.InitCommand; import java.io.File; public class Quickstart { public static void main(String[] args) throws Exception { Git git = Git.init().setDirectory(new File("/tmp/my-repo")).call(); System.out.println("Repository initialized at " + git.getRepository().getDirectory()); git.close(); } }
Debug
Known issues
gotchaJGit may not support all Git features or protocols (e.g., some advanced merge strategies) compared to native Git.
fix
For full Git compatibility, consider using native Git command-line tools for complex operations.
affects: *
Upgrade
Version history
7.6.0.202603022253-rlatest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
org-eclipse-jgit — mvn dependency:get org-eclipse-jgit · libregistry