diff --git a/src/update_repo.rs b/src/update_repo.rs index a6ab981..1eee16a 100644 --- a/src/update_repo.rs +++ b/src/update_repo.rs @@ -16,6 +16,7 @@ pub async fn update_repo(repo: &RepoConfig) -> Result { Command::new("git") .current_dir(&repo.path) .arg("pull") + .arg("--rebase") .stdin(Stdio::null()) .spawn()? .wait()