summaryrefslogtreecommitdiffstats
path: root/tools/create-test-repo.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-11-19 14:52:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-11-19 14:53:01 +0000
commitf3b6c222fb11c96e2f8bbaa0622f46c8ec486874 (patch)
tree0f38497775e27d3e16b20573b36dd22aa5b24f3e /tools/create-test-repo.sh
parentReleasing debian version 0.17.0-1. (diff)
downloadgitlint-f3b6c222fb11c96e2f8bbaa0622f46c8ec486874.tar.xz
gitlint-f3b6c222fb11c96e2f8bbaa0622f46c8ec486874.zip
Merging upstream version 0.18.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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