while the original discussion ended up at this sort of feature request due to manual pushing and pulling of refs/bugs and refs/identities, it would be worth having a command to do this for other reasons (e.g. debugging, testing).
sudoforge
added label
area/cli
sudoforge
added label
kind/feature
sudoforge
added label
priority/backlog
Michael Muré (MichaelMure) commented
There is likely more potential commands for "admin" sort of things (say, remove everything git-bug, ...) so I'd suggest a root namespace for that kind of things instead of specifically the cache.
sudoforge commented (edited)
there's git bug wipe today (but it needs a little TLC). in implementing this, i'm thinking something like git bug init --reset-cache as an eventual target (but init doesn't exist today).
to avoid adding a new command for this today, i think implementing it under wipe makes sense, e.g. wipe --cache-only. 🤷
edit:
actually, i think renaming wipe to reset and having different args like: