We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9c5deb commit 6840e7eCopy full SHA for 6840e7e
1 file changed
modules/github/main.tf
@@ -44,9 +44,10 @@ resource "null_resource" "post_repo_creation" {
44
cd cruft-template
45
cruft create ${var.cruft_template_url} --extra-context '{"project_name": "${var.project_name}", "project_slug": "${var.project_slug}"}' --no-input
46
cd ${var.project_slug}
47
+ git config --global init.defaultBranch main
48
+ git init
49
git config user.email "nomail@mail.com"
50
git config user.name "No name"
- git init
51
git add *
52
git commit -m "Initial commit from Terraform and cruft"
53
git branch -M main
0 commit comments