mirror of
https://forgejo.stefka.eu/jiriks74/create-pull-request.git
synced 2025-01-18 16:01:06 +01:00
test: set default branch to main (#1310)
This commit is contained in:
parent
6c704eb7a8
commit
ee93d78b55
2 changed files with 5 additions and 4 deletions
|
@ -6,6 +6,7 @@ WORKINGDIR=$PWD
|
|||
|
||||
# Create and serve a remote repo
|
||||
mkdir -p /git/remote
|
||||
git config --global init.defaultBranch main
|
||||
git init --bare /git/remote/test-base.git
|
||||
git daemon --verbose --enable=receive-pack --base-path=/git/remote --export-all /git/remote &>/dev/null &
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue