From: Christian Weisgerber Subject: Re: got-archive(1) To: gameoftrees@openbsd.org Date: Thu, 28 Dec 2023 21:40:42 +0100 Benjamin Stürz: > > I have written a small helper script called got-archive(1), > for generating tarballs from a git repo, > because I couldn't find another way to do so with just got(1). Each "got checkout" creates a refs/got/worktree/base-* reference in the repository. If you don't clean this up, those refs will continue to accumulate. got ref -d $(got info | \ awk '/work tree UUID:/ { print "refs/got/worktree/base-" $NF }') -- Christian "naddy" Weisgerber naddy@mips.inka.de