fix: git checkout disambiguate error (#306)

See also https://git-scm.com/docs/git-checkout#_argument_disambiguation
This commit is contained in:
Whoemoon Jang
2025-07-22 12:11:25 +09:00
committed by GitHub
parent 8f551b358e
commit 51e00deb08

View File

@@ -55,7 +55,7 @@ export async function setupBranch(
// Execute git commands to checkout PR branch (dynamic depth based on PR size) // Execute git commands to checkout PR branch (dynamic depth based on PR size)
await $`git fetch origin --depth=${fetchDepth} ${branchName}`; await $`git fetch origin --depth=${fetchDepth} ${branchName}`;
await $`git checkout ${branchName}`; await $`git checkout ${branchName} --`;
console.log(`Successfully checked out PR branch for PR #${entityNumber}`); console.log(`Successfully checked out PR branch for PR #${entityNumber}`);