Checkout branch with "force" so it updates the tree

This commit is contained in:
Alex Gleason committed 2025-10-29 15:10:20 -05:00
1 parent 05bdd275d1
commit d13bc84232
4 files changed
+9 -3

No files matched your search

+1
View File
@@ -1066,6 +1066,7 @@ export class Git {
fs: this.fs,
dir: options.dir,
ref: expectedBranch,
force: true,
});
} catch (checkoutError) {
console.warn(`Failed to checkout branch ${expectedBranch}:`, checkoutError);