From: Junio C Hamano Date: Wed, 17 Jun 2026 12:26:00 GMT Subject: Re: [PATCH v2 0/5] builtin/refs: add ability to write references Message-ID: In-Reply-To: <20260617-pks-refs-writing-subcommands-v2-0-07f3d18336f9@pks.im> Patrick Steinhardt writes: > Hi, > > Reference-related functionality in Git is currently spread across many > different commands: git-update-ref(1), git-for-each-ref(1), > git-show-ref(1), git-pack-refs(1) and git-symbolic-ref(1). This makes it > hard for users to discover what functionality we have available to work > with references. > > We have thus started to consolidate this functionality into git-refs(1), > which is a toolbox of everything related to references. Until now, the > command doesn't handle functionality of git-update-ref(1). > > This patch series backfills most of the functionality by introducing > three new commands: > > - `git refs delete` to delete references. This is the equivalent of > `git update-ref -d`. > > - `git refs update` to update references. This is the equivalent of > `git update-ref `. > > - `git refs rename` to rename a reference, including its reflog. This > does not have an equivalent in git-update-ref(1), but is inspired by > and supersedes [1]. ... and `git refs create`, but we can guess what it would do ;-). Will queue. Thanks.