BitKeeper常用的3个多文件操作

来源:互联网 发布:交互设计 知乎 编辑:程序博客网 时间:2024/06/09 20:34

关键字:BitKeeper, multiple files

一、删除文件夹

删除BitKeeper repo中的文件夹

bk rmdir 文件夹

二、添加多个新文件
repo一般会设置checkin代码时必须添加comment,否则无法checkin。使用checkin tool为每个文件添加comment太麻烦了,使用如下命令行:

bk sfiles -x | bk new -y"Add your comments here" -

然后使用checkin tool添加changeset的comment,commit后,push即可。

三、checkin多个修改过的文件

同样,使用如下命令行checkin当前文件夹修改过的文件。

bk sfiles -U -c | bk ci -y"Add your comments here" -

原创粉丝点击