On Wed, May 17, 2023 at 1:40 PM Jeff King <peff@xxxxxxxx> wrote: > One thing I wondered is whether the obvious command to retry: > > git tag -F .git/TAG_EDITMSG foo > > would work, or if we would overwrite the file before it is read. But it > does work, which is good. I wonder if we: > > b. want to tell users that is a good way to recover (though maybe that > is a rabbit hole of details as one subtlety is that it will be > overwritten by an unrelated tag command). If that route is taken, then making the advice worktree-friendly would probably be a good idea: git tag -F $(git rev-parse --git-path TAG_EDITMSG) foo