最佳答案
我正在制作一个使用 Git 的 Java 应用程序 JavaGit 、 艾吉特和 JGit。
我知道 JavaGit 和 EGit/JGit 是不同的。我不明白的是 EGit 和 JGit 之间的区别。两者都托管在 Eclipse 项目上,但一个似乎与 Eclipse 相关,另一个则与 Eclipse 无关。
我不使用 Eclipse,也不打算使用,所以我真的不太关心“ Eclipse 集成”。
JGit 是否与 Eclipse 有某种联系?(它托管在 www.eclipse.org 上,JGit 的 文件中也有很多“ eclipse”关键字)
在这三种方法中,我需要什么来连接我的 Java 程序(不是在 Eclipse 中编写的)以使用 Git 存储库?
我更喜欢独立的 Git 库(即,不依赖于本地 Git 安装)
编辑: 还有一个问题:
编辑: 我找到了答案——它找到了(还没有试过)。它位于 transport
包中一个名为 BundleWriter
的类中