Search code examples
eclipsegiteclipse-pluginegit

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


I'm able to set init.templatedir as 'C:\UserGit' in Git Bash and it is working fine.

But I need a same for EGit, i.e when I clone repository from eclipse templateDir should be executed.
Is that possible?


Solution

  • EGit is based on a Java implementation of Git, called JGit.

    And JGit does not seem to support/implement the template_dir option from a git init command: see this search.