Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
cli: Force push refs on patch open/update
Alexis Sellier committed 3 years ago
commit b809bd3d736d51c517afdaeb867a69668d76f864
parent 3a9c8b7144d42183f82462807345f3c88bdacc16
1 file changed +1 -1
modified radicle-cli/src/commands/patch/common.rs
@@ -157,7 +157,7 @@ pub fn push_to_storage(
        let (mut remote, _) = radicle::rad::remote(working)?;

        remote
-
            .push::<&str>(&[&branch], None)
+
            .push::<&str>(&[&format!("+{branch}:{branch}")], None)
            .context("failed to push to storage")?;
    }
    Ok(branch)