mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 08:23:34 +00:00
Checkout branch with "force" so it updates the tree
This commit is contained in:
4 files changed
+9
-3
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user