config git before first commit

This commit is contained in:
Histausse 2023-06-19 12:32:26 +02:00 committed by Jean-Marie Mineau
parent 99cf060e08
commit ad7b9ec602

View file

@ -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"])