rsmultigit 0.1.15

Manage multiple git repositories at once
1
2
3
4
5
6
7
8
9
10
11
use std::path::Path;

use anyhow::Result;

use crate::subprocess_utils::check_call;

/// Prune stale remote-tracking branches.
pub fn do_prune(project: &Path) -> Result<bool> {
    check_call(project, "git", &["remote", "prune", "origin"])?;
    Ok(true)
}