如何在 Eclipse 插件中为 git 设置 TemplateDir 值?

How to set TemplateDir values for git in Eclipse plug-in?

我可以在 Git Bash 中将 init.templatedir 设置为“C:\UserGit”,并且工作正常。

但是我需要一个相同的 EGit,即当我从 eclipse 克隆存储库时 templateDir 应该被执行。
这可能吗?

EGit 基于 Git 的 Java 实现,称为 JGit.

而JGit好像没有support/implement template_dir option from a git init command: see this search.