From: Jim Hill Date: Wed, 06 Jan 2021 20:33:22 GMT Subject: Re: New orphan worktree? Message-ID: In-Reply-To: On Wed, Jan 6, 2021 at 11:48 AM Elijah Newren wrote: > The rm command presumes the file-backend for refs. That might not > work in the future with reftable. True dat. The pure way is git worktree add newbranch $(git commit-tree `git mktree <&-` <&-) git -C newbranch symbolic-ref HEAD refs/heads/newbranch