pub async fn push_as(
repo: &Path,
remote: &str,
local: &str,
head: &str,
expected: &str,
) -> Result<GitOut>Expand description
Push a local branch to a separate public head with an explicit lease. An empty expected SHA requires the remote branch to be absent.