Clone instead of init

This commit is contained in:
Marcus Noble 2021-07-24 12:33:13 +01:00
parent 4ee6612388
commit d572c90470
1 changed files with 2 additions and 2 deletions

View File

@ -46,9 +46,9 @@ for REPO in ${REPOS}; do
printf "\n🔄 Syncing ${REPO}\n\n"
rm -rf ${REPO}
mkdir -p ${REPO}
git clone "${GITEA_BASE}${REPO}" ${REPO}
cd ${REPO}
git init 1> /dev/null
BRANCH=$(getDefaultBranch ${REPO})