Use git init to immediately create the correct branch
This commit is contained in:
parent
f5f05c0a9e
commit
769d7da9b2
1 changed files with 1 additions and 2 deletions
|
|
@ -7,10 +7,9 @@ setup() {
|
|||
DIR="$( cd "$( dirname "$BATS_TEST_FILENAME" )" >/dev/null 2>&1 && pwd )"
|
||||
PATH="$DIR/../bin:$PATH"
|
||||
|
||||
git init
|
||||
git init -b main
|
||||
git config user.email "john.doe@example.com"
|
||||
git config user.name "John Doe"
|
||||
git checkout -b main
|
||||
}
|
||||
|
||||
@test "can run" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue