What's the recommendation for forgetting all rerere's records?
- From
Sean Allred <allred.sean@gmail.com>
- Date
- Dec 6, 2023, 22:37 UTC
- Message-ID
- <m0y1e7kkft.fsf@epic96565.epic.com>
Hi all,
When outside the context of a conflict (no rebase/merge in progress), what's the intended workflow to clear out the contents of $GIT_DIR/rr-cache?
We have developers who'd like to discard their faulty resolutions after completing a rebase gone awry (but not aborted). There doesn't seem to be a recommendation in git-rerere(1) for how to deal with this situation. (git-rerere-forget seems to only work in the context of an active conflict -- and is documented as such.)
I'm wary of recommending `rm -rf "$(git rev-parse --git-dir)/rr-cache"` -- it's hard to describe this as anything but hacky when the rest of the experience is handled in porcelain.
Thanks!
-- Sean Allred