We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 414d61f commit afcd34fCopy full SHA for afcd34f
script/init-local-index.sh
@@ -11,10 +11,10 @@ mkdir -p tmp
11
rm -rf tmp/index-bare tmp/index-tmp
12
13
echo "Initializing repository in tmp/index-bare..."
14
-git init -q --bare tmp/index-bare
+git init -q --bare --initial-branch=master tmp/index-bare
15
16
echo "Creating temporary clone in tmp/index-tmp..."
17
-git init -q tmp/index-tmp
+git init -q --initial-branch=master tmp/index-tmp
18
cd tmp/index-tmp
19
cat > config.json <<-EOF
20
{
0 commit comments