From 26441c684a0c21f71313978df0b714f3ff5cb63f Mon Sep 17 00:00:00 2001 From: Noelle Leigh <5957867+noelleleigh@users.noreply.github.com> Date: Fri, 27 Dec 2024 17:28:43 -0500 Subject: [PATCH] docs(pgs): Improve example for `retain` command (#13) Updated the example for the `retain` command to show how to use the `-n` argument, and clarified that linked projects don't count towards N. --- posts/pgs.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/posts/pgs.md b/posts/pgs.md index dc7c2c1..0189c73 100644 --- a/posts/pgs.md +++ b/posts/pgs.md @@ -215,8 +215,9 @@ ssh pgs.sh rm project-x ssh pgs.sh prune prefix # delete all projects matching a prefix -# except the last (3) recently updated projects -ssh pgs.sh retain prefix +# except the last N recently updated projects (defaults to 3). +# doesn't count linked projects +ssh pgs.sh retain prefix -n 3 # set project to private to only you and matching public keys ssh pgs.sh acl project-x --type pubkeys --acl sha256:xxx