From ad7b9ec60223c7a06e7868f40077587b9a0656a5 Mon Sep 17 00:00:00 2001 From: Histausse Date: Mon, 19 Jun 2023 12:32:26 +0200 Subject: [PATCH] config git before first commit --- hooks/post_gen_project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/post_gen_project.py b/hooks/post_gen_project.py index c2e94cf..9aae08c 100644 --- a/hooks/post_gen_project.py +++ b/hooks/post_gen_project.py @@ -20,9 +20,9 @@ subprocess.call(["poetry", "lock"]) subprocess.call(["git", "init"]) subprocess.call(["git", "checkout", "-b", "main"]) subprocess.call(["git", "add", "*"]) -subprocess.call(["git", "commit", "-m", "Initial commit"]) subprocess.call(["git", "config", "user.name", "{{ cookiecutter.git_user }}"]) subprocess.call(["git", "config", "user.email", "{{ cookiecutter.email }}"]) +subprocess.call(["git", "commit", "-m", "Initial commit"]) # subprocess.call(["python", "-m", "venv", "venv"])