Pull with rebase by default
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user