Pull with rebase by default

This commit is contained in:
2025-10-29 19:38:15 +08:00
parent 278fb99277
commit 4c167dd31d

View File

@@ -113,6 +113,7 @@ async fn update_handler(State(state): State<AppState>) -> impl IntoResponse {
// Run git pull --autostash // Run git pull --autostash
let output = Command::new("git") let output = Command::new("git")
.arg("pull") .arg("pull")
.arg("--rebase")
.arg("--autostash") .arg("--autostash")
.output() .output()
.await; .await;