diff --git a/ofborg/src/clone.rs b/ofborg/src/clone.rs index c143c26..ee10a90 100644 --- a/ofborg/src/clone.rs +++ b/ofborg/src/clone.rs @@ -148,6 +148,8 @@ pub trait GitClonable { debug!("git checkout {:?}", git_ref); let result = Command::new("git") .arg("checkout") + // we don't care if its dirty + .arg("--force") .arg(git_ref) .current_dir(self.clone_to()) .stdout(Stdio::null())