Skip to content

Commit f677b95

Browse files
committed
Pull with rebase
1 parent 250b2c0 commit f677b95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export async function pushBranch(): Promise<void> {
8585
}
8686

8787
export async function pullBranch(): Promise<void> {
88-
const proc = Bun.spawn(["git", "pull"], {
88+
const proc = Bun.spawn(["git", "pull", "--rebase"], {
8989
stdout: "pipe",
9090
stderr: "pipe",
9191
});
@@ -95,4 +95,4 @@ export async function pullBranch(): Promise<void> {
9595
const error = await new Response(proc.stderr).text();
9696
throw new Error(`Failed to pull: ${error}`);
9797
}
98-
}
98+
}

0 commit comments

Comments
 (0)