# PkgTemplate without git config

**URL:** <https://discourse.julialang.org/t/pkgtemplate-without-git-config/65524>\
**Category:** New to Julia\
**Tags:** pkgtemplates\
**Created:** [July 29, 2021, 9:01pm UTC](https://discourse.julialang.org/t/pkgtemplate-without-git-config/65524 "2021-07-29T21:01:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas](https://avatars.discourse-cdn.com/v4/letter/t/e36b37/32.png) [@Thomas](https://discourse.julialang.org/u/Thomas)\
**Post date:** [July 29, 2021, 9:01pm UTC](https://discourse.julialang.org/t/pkgtemplate-without-git-config/65524/1 "2021-07-29T21:01:04Z")

</div>

Can anyone help with using PkgTemplate without the need for setting up git user and email?

```julia
t = Template(; user="foo", authors="bar", host="Others", plugins=[ProjectFile, SrcDir])

```

The error is `ArgumentError: global git config requires user.name".

---

<div class="post-metadata">

**Author:** ![Zacharie\_ALES](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zacharie_ales/32/11144_2.png) [@Zacharie\_ALES](https://discourse.julialang.org/u/Zacharie_ALES)\
**Post date:** [November 24, 2021, 1:59pm UTC](https://discourse.julialang.org/t/pkgtemplate-without-git-config/65524/2 "2021-11-24T13:59:17Z")

</div>

On linux, the solution for me was to use these command lines in a terminal (outside of julia):

```julia
git config --global user.name "John Doe"
git config --global user.email johndoe@example.com

```
