radicle-heartwood-lfs/radicle-cli/examples/git
Alexis Sellier c0271c303f
Prevent divergences in canonical head
On push, we check whether the resulting state would cause a
divergence/fork in the canonical head, and if so, prevent the push from
happening.

This is to avoid situations where delegates have to then rollback their
heads.

Note that this doesn't prevent forks from happening altogether, as they
could happen asychronously, but it mitigates the problem.
2023-09-27 12:25:14 +02:00
..
git-pull.md node: Make node aliases required 2023-07-11 18:08:59 +02:00
git-push-delete.md cli: Use `git push` to open or update patches 2023-05-12 12:22:08 +02:00
git-push-diverge.md Prevent divergences in canonical head 2023-09-27 12:25:14 +02:00
git-push.md cli: Don't test Git hints in test 2023-09-01 12:13:05 +02:00