diff --git a/.gitea/workflows/format->develop.yml b/.gitea/workflows/format->develop.yml index bd9c285..355055c 100644 --- a/.gitea/workflows/format->develop.yml +++ b/.gitea/workflows/format->develop.yml @@ -31,7 +31,7 @@ jobs: git clone ${{ github.serverUrl }}/${{ github.repository }} ../cloned git -C ../cloned fetch origin #--depth=1 git -C ../cloned branch -r - git -C ../cloned switch $DEVELOPMENT_BRANCH + git -C ../cloned checkout -b $DEVELOPMENT_BRANCH mv ../cloned/.git .. rm -rf ../cloned cp -r . ../cloned