Skip to content

Commit

Permalink
fix(test): specify specific initial branch (#272)
Browse files Browse the repository at this point in the history
I was unable to run the acceptance tests anymore, after changing my
global git config to use `main` as the default initial branch.

Other users might also have specified a different branch.

We can solve this by being specific about the initial branch name
  • Loading branch information
korthout authored Aug 9, 2022
1 parent f309d86 commit 181879d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ setup () {
mkdir $REPOSITORY_NAME
cd $REPOSITORY_NAME

git init
git init --initial-branch='master'

echo "[commit]" >> .git/config
echo " gpgsign = false" >> .git/config
Expand Down

0 comments on commit 181879d

Please sign in to comment.