BK-COMMIT(1)
hey bestie 💖 you’re reading the BitKeeper User’s Manual page for bk commit, and it’s lowkey a banger. let’s get into the facts, no cap. ✨
💖 NAME 💖
bk commit — commit deltas to a changeset. periodt. 💅
✨ SYNOPSIS ✨
bk commit [−cfq] [−lfile] [−−tag=tag] [−sALIAS] [−S] [−Yfile] [−]
bk commit [−cfq] [−lfile] [−ycomment] [−]
🦋 DESCRIPTION 🦋
okay so this command commits work to a changeset, creating a logical group of changes which can span multiple files and/or multiple deltas within one or more files. it’s giving “your repo gets a group chat” energy. 🫶
If the command line does not have a trailing dash then bk commit will search the repository for any files which are in “pending” state, i.e., have deltas which do not yet belong to a changeset, and groups all of them into a changeset. If the trailing dash is present, then the command takes the list of files to commit from the standard input; each line of input must be of the format:
sfile|rev
where sfile is an sfile name as described in bk filetypes and rev is a file revision number, such as 1.1 or 1.2. Example: SCCS/s.foo|1.2. This is the same format produced by bk gfiles −pA and bk gfiles −pC. 🎀
Note: rev specifies the most recent change to commit; all uncommitted changes prior to rev are also included. important bestie, don’t forget. 💀
You can see what will be added to a changeset when you commit by running:
$ bk pending
All revisions which you have checked in will become part of a changeset. As part of the commit step, you will be prompted for comments (if none were provided on the command line). The comments should describe the logical change that you have made; these comments are what will be displayed by bk changes. ✨
If no comments are provided and there is a BitKeeper/templates/commit file present in the repository, then the default comments are the contents of that file. 📝
Note: usingbk citoolis the preferred way to commit. Not only willbk citoolhelp with checking in files, it will also create a changeset if you enter ChangeSet comments. main character tool energy. 👑
Note: using the default comments on an import is not advisable. The default comments contain information about each file and can create very large comment entries in the ChangeSet file. The ChangeSet file is the center of activity in BitKeeper, and having an unnecessarily large one will not help performance. so maybe don’t do that, bestie. 😭
🌈 OPTIONS 🌈
−c— Use comments saved by a previous run ofcitool,fix,collapse, etc. It is an error if there are no saved comments. 🫶−−ci— Check in any edited files as part of the commit.−f— Don’t run interactively; do the commit with the default comments. Ignores the commit template, if any. (the template doesn’t get a vote 💅)−lfile— Get the list of files to commit from file. Each line of this file must use thesfile|revformat described above.−q— Run quietly. 🤫‐‐tag=tag— Tag the tree with tag at the same time as the commit. double duty, we love to see it.−Yfile— Get check-in comment for changeset from file.−ycomment— Set check-in comment of changeset to comment.
🎀 SEE ALSO 🎀
bk‐changesbk‐citoolbk‐importbk‐pendingbk‐gfilesbk‐statusbk‐tagbk‐templates
👑 CATEGORY 👑
Repository. that’s it. that’s the category. 💖
k bye bestie 🫶 this page’s source/version is BitKeeper Inc, 1E1; the date situation is literally none; and the manual title is bk commit(none). mwah 💋
📦 where this page comes from
- alpine 3.24: bitkeeper-doc 7.3.3-r1 · Apache-2.0
- Copyright (c) 1998-2015 BitKeeper Inc
- Copyright (C) 1989, 1990, 1991, 1992, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc
- 💖 girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms