From 51e00deb0858468e4fb0366955217e9b404596d2 Mon Sep 17 00:00:00 2001 From: Whoemoon Jang Date: Tue, 22 Jul 2025 12:11:25 +0900 Subject: [PATCH] fix: git checkout disambiguate error (#306) See also https://git-scm.com/docs/git-checkout#_argument_disambiguation --- src/github/operations/branch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github/operations/branch.ts b/src/github/operations/branch.ts index 0d31da8..42e7829 100644 --- a/src/github/operations/branch.ts +++ b/src/github/operations/branch.ts @@ -55,7 +55,7 @@ export async function setupBranch( // Execute git commands to checkout PR branch (dynamic depth based on PR size) 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}`);