BK-GONE(1)

πŸ“¦ version 7.3.3, in alpine 3.24

πŸ’… bk gone β€” the "okay so this file is literally GONE gone" manual

okay bestie, welcome to the bk gone page from the BitKeeper User's Manual ✨ this one's short but she's important, trust.


🌸 NAME 🌸

bk gone β€” mark a file (key) as gone 🫢


✨ SYNOPSIS ✨

bk gone [-q] [key key ... | -]

πŸ’– DESCRIPTION πŸ’–

so the bk gone command is what you reach for when a file has been lost or physically deleted, and the administrator of the repository has decided that yeah, this file should be marked as gone. periodt. πŸ’€

you can generate the key of the file from an existing file like this, no cap:

$ bk log ‐r+ ‐d:ROOTKEY: file

and the key that comes back from that command needs to be marked as gone if you actually want the file removed from the repository. like, that's the whole bit. 🌟

sometimes a file is just lost β€” iykyk, the gotten file and the s.file have been removed by accident 😭. whenever repository-level commands are run, consistency checks happen. and when those checks run, they will notice a file is lost and they will complain. rude but fair. after you've looked over the consistency check output carefully (please actually read it, bestie, don't just scroll πŸ™ˆ), you can run this to automatically mark all the missing files as gone:

bk ‐r check ‐ag | bk ‐R gone ‐

slay. pipeline ate. πŸ”₯


πŸŽ€ OPTIONS πŸŽ€

  • -q β€” be quiet. that's it. she's lowkey. 🀫

πŸ‘‘ NOTE πŸ‘‘

okay this part is important so listen up. just adding the key to the gone file does not make the file "go away." all it does is make BitKeeper be happy if the file is actually gone. that's the whole vibe check.

if you want to really remove the file: save the key, physically remove the file, then run bk -r check -a. if that complains, run bk gone on the listed keys. and that's the routine, fr fr. πŸ¦‹


🌈 SEE ALSO 🌈

  • bk-check

⭐ CATEGORY ⭐

Admin πŸ’œ


<div align="center">✨ that's the whole page, bestie ✨</div>

mwah, and just so you have the receipts: this one's from BitKeeper Inc, version 1E1, dated the same as the bk gone(none) footer you'd normally see at the bottom β€” consider it signed, sealed, and delivered with a πŸŽ€. go mark those files gone, icon. πŸ‘‘πŸ’…

πŸ“¦ where this page comes from
  • alpine 3.24: bitkeeper-doc 7.3.3-r1 Β· Apache-2.0
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms