From 44206cb6caab5b2fd1a49e7c2217a27924e82608 Mon Sep 17 00:00:00 2001 From: Fintan Halpenny Date: Thu, 7 Dec 2023 14:05:39 +0000 Subject: [PATCH] cli: ensure patch is present in rad-push-and-pull-patches In some cases, there's a chance for the patch to not have arrived before trying to check it out in the `alice` repo. Ensure that the patch is present by first running `rad sync -f`. Signed-off-by: Fintan Halpenny X-Clacks-Overhead: GNU Terry Pratchett --- radicle-cli/examples/rad-push-and-pull-patches.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/radicle-cli/examples/rad-push-and-pull-patches.md b/radicle-cli/examples/rad-push-and-pull-patches.md index c0880225..baba06f6 100644 --- a/radicle-cli/examples/rad-push-and-pull-patches.md +++ b/radicle-cli/examples/rad-push-and-pull-patches.md @@ -8,6 +8,9 @@ $ git push -o patch.message="Changes" rad HEAD:refs/patches ``` ``` ~alice +$ rad sync -f +✓ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from z6Mkt67…v4N1tRk.. +✓ Fetched repository from 1 seed(s) $ git checkout -b alice/1 -q $ git rev-parse HEAD f2de534b5e81d7c6e2dcaf58c3dd91573c0a0354