我知道 JGit 中对 git 子模块的支持是有限的,但仍然想知道如何实现这一点:
git submodule foreach git checkout <branchName>
以及使用 JGit 的类似命令。
或者还有其他更好的基于 Java 的 Git API 吗?
git git-submodules jgit
git ×1
git-submodules ×1
jgit ×1