update repo comtroller

This commit is contained in:
2026-01-07 12:32:31 +01:00
parent 68f4f0b664
commit c2bbbe03bc

View File

@@ -72,11 +72,8 @@ checkout_branch() {
git pull "${AUTH_URL}" main
echo "🌿 Checking out target branch: ${BRANCH_NAME}"
if git show-ref --verify --quiet "refs/heads/${BRANCH_NAME}"; then
git checkout "${BRANCH_NAME}"
else
git checkout -b "${BRANCH_NAME}" "origin/${BRANCH_NAME}"
fi
git checkout "${BRANCH_NAME}"
echo "⬆️ Rebasing '${BRANCH_NAME}' onto latest main..."
git rebase main