cli: Force push refs on patch open/update
This ensures that `patch update` does not fail in a non-fast-forward case.
This commit is contained in:
parent
3a9c8b7144
commit
b809bd3d73
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue