← 返回命令列表

Linux command

bk 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Clone a repository

bk clone [bk://server/repository]

Add new files

bk new [file1] [file2]

Commit changes

bk commit -y"[commit message]"

Push changes

bk push

Pull changes

bk pull

Show change history

bk changes

Get all user files

bk -U get

Show repository status

bk status

说明

bk (BitKeeper) is a distributed version control system that pioneered many concepts later adopted by Git. It features nested repositories (submodules), atomic commits, and efficient handling of large codebases. BitKeeper provides a simple command-line interface for managing source code history, branching, merging, and collaboration across distributed teams.

参数

-y _message_
Commit message (with commit command)
-U
Operate on user files only
-A
Operate on all files including metadata
-r _rev_
Specify revision

FAQ

What is the bk command used for?

bk (BitKeeper) is a distributed version control system that pioneered many concepts later adopted by Git. It features nested repositories (submodules), atomic commits, and efficient handling of large codebases. BitKeeper provides a simple command-line interface for managing source code history, branching, merging, and collaboration across distributed teams.

How do I run a basic bk example?

Run `bk clone [bk://server/repository]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -y _message_ do in bk?

Commit message (with commit command)