BK-NEW(1)

πŸ“¦ version 7.3.3, in alpine 3.24

πŸŽ€ bk new(none) πŸŽ€

okay bestie, this page is from the BitKeeper User’s Manual, and it is giving β€œhow do I put a brand-new file under BitKeeper control?” energy. no cap πŸ’–


🌸 NAME 🌸

bk new βˆ’ add a file to the repository. literally the entrance moment for a file that is about to be under BitKeeper control ✨

✨ SYNOPSIS ✨

bk new [βˆ’bcq] [βˆ’Mmode] [file ... | βˆ’]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the bk new command is the one you use to initially place files under BitKeeper control. first-time entrance, main character energy, iconic behavior πŸ’…

a useful way to add new files in the current directory is:

bk gfiles ‐x *.[ch] | bk new ‐

and when you want to add files in the current directory and all subdirectories, do this:

bk ‐xr. new    # same as bk gfiles ‐x | bk new ‐

now listen: after the files are checked in, don’t be surprised to see that the files are no longer in your directory. ngl that’s the whole vibe 😭 the process of checking in files removes the files from the directory and places them in the SCCS directories. once they’re in the SCCS directory, the file can be retrieved with the bk get or bk edit commands. most versions of the UNIX make command know about SCCS and will automatically check out files as they are needed. iykyk 🫢

πŸ”₯ OPTIONS πŸ”₯

  • βˆ’b β€” force binary encoding with no keyword expansion; recommended for all binary files, but will work on text files as well (with a corresponding increase in the size of the revision history file).
  • βˆ’c β€” use comments saved by a previous run of citool, fix, collapse, etc. it is an error if there are no saved comments. error, bestie, no saved comments means no ✨
  • βˆ’Mmode β€” set the permissions on the new delta to mode.
  • βˆ’q β€” be quiet. shhh 🀫

πŸ’œ SEE ALSO πŸ’œ

  • bk‐delta
  • bk‐edit
  • bk‐get
  • bk‐ignore
  • bk‐gfiles

🌈 CATEGORY 🌈

  • File
  • Common

kisses, bestie πŸ’– β€” this page is from BitKeeper Inc, version 1E1, and it answers to bk new(none). mwah 🫢

πŸ“¦ 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