Skip to content

Commit

Permalink
docs(pgs): Improve example for retain command (#13)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
noelleleigh authored Dec 27, 2024
1 parent 65e6712 commit 26441c6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions posts/pgs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 26441c6

Please sign in to comment.