fixes #52 installer did not set the main branch branch correctly
This commit is contained in:
parent
0c55c1ae71
commit
5a0afce81f
|
|
@ -153,7 +153,7 @@ fi
|
||||||
cd $INSTALL_DIR
|
cd $INSTALL_DIR
|
||||||
|
|
||||||
# get project code from repository
|
# get project code from repository
|
||||||
sudo git init -q
|
sudo git init -q -b main
|
||||||
sudo git config remote.origin.url $GIT_REMOTE
|
sudo git config remote.origin.url $GIT_REMOTE
|
||||||
sudo git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
|
sudo git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
|
||||||
# prevent altering line endings
|
# prevent altering line endings
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue