# PkgTemplates without git

**URL:** <https://discourse.julialang.org/t/pkgtemplates-without-git/85703>\
**Category:** General Usage\
**Created:** [August 13, 2022, 12:56pm UTC](https://discourse.julialang.org/t/pkgtemplates-without-git/85703 "2022-08-13T12:56:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ay\_m](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ay_m/32/34616_2.png) [@ay\_m](https://discourse.julialang.org/u/ay_m)\
**Post date:** [August 13, 2022, 12:56pm UTC](https://discourse.julialang.org/t/pkgtemplates-without-git/85703/1 "2022-08-13T12:56:46Z")

</div>

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

```julia
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

---

<div class="post-metadata">

**Author:** ![digital\_carver](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/digital_carver/32/33818_2.png) [@digital\_carver](https://discourse.julialang.org/u/digital_carver)\
**Post date:** [August 13, 2022, 1:53pm UTC](https://discourse.julialang.org/t/pkgtemplates-without-git/85703/2 "2022-08-13T13:53:08Z")

</div>

As per [the documentation](https://invenia.github.io/PkgTemplates.jl/stable/user/#PkgTemplates.Template),

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

```

should do it.

> The default plugins are [`ProjectFile`](https://invenia.github.io/PkgTemplates.jl/stable/user/#PkgTemplates.ProjectFile), [`SrcDir`](https://invenia.github.io/PkgTemplates.jl/stable/user/#PkgTemplates.SrcDir), [`Tests`](https://invenia.github.io/PkgTemplates.jl/stable/user/#PkgTemplates.Tests), [`Readme`](https://invenia.github.io/PkgTemplates.jl/stable/user/#PkgTemplates.Readme), [`License`](https://invenia.github.io/PkgTemplates.jl/stable/user/#PkgTemplates.License), [`Git`](https://invenia.github.io/PkgTemplates.jl/stable/user/#PkgTemplates.Git), [`CompatHelper`](https://invenia.github.io/PkgTemplates.jl/stable/user/#PkgTemplates.CompatHelper), and [`TagBot`](https://invenia.github.io/PkgTemplates.jl/stable/user/#PkgTemplates.TagBot). To disable a default plugin, pass in the negated type: `!PluginType`.
