From 70fa3213ccc70728501007412fdc74b11d7c828c Mon Sep 17 00:00:00 2001 From: Dom Harrington Date: Mon, 17 Jun 2024 12:57:57 +0100 Subject: [PATCH] chore: move the git config to above git repo creation --- test/create-repo.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/create-repo.sh b/test/create-repo.sh index 6202a20..ca39947 100755 --- a/test/create-repo.sh +++ b/test/create-repo.sh @@ -3,13 +3,13 @@ REPO="test-repo.git" echo $REPO mkdir $REPO cd $REPO +git config --local user.email "you@example.com" +git config --local user.name "Your Name" +git config --local init.defaultbranch main git init --bare cd .. git clone -l $REPO test-repo-clone cd test-repo-clone -git config --local user.email "you@example.com" -git config --local user.name "Your Name" -git config --local init.defaultbranch main # Add for i in {1..16}