PkgTemplates without git

hello, I am trying to create a module using PkgTemplates.jl

tpl = Template(user="a", dir=".")
tpl("Package")

The issue is this command creates a .git file, and I don’t need it, since I already have a repository created, how to create a package without the git files?

Thanks in advance

As per the documentation,

  tpl = Template(user="a", dir=".", plugins = [!Git])

should do it.

The default plugins are ProjectFile, SrcDir, Tests, Readme, License, Git, CompatHelper, and TagBot. To disable a default plugin, pass in the negated type: !PluginType.

1 Like