summaryrefslogtreecommitdiffstats
path: root/tools/create-test-repo.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/create-test-repo.sh')
-rwxr-xr-xtools/create-test-repo.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/create-test-repo.sh b/tools/create-test-repo.sh
index 79934d6..5fddf8c 100755
--- a/tools/create-test-repo.sh
+++ b/tools/create-test-repo.sh
@@ -11,7 +11,7 @@ echo "pwd=$CWD"
# Create the repo
cd /tmp
reponame=$(date +gitlint-test-%Y-%m-%d_%H-%M-%S)
-git init $reponame
+git init --initial-branch main $reponame
cd $reponame
# Do some basic config