Comment by paradite
10 years ago
$ bk clone bk://bkbits.net/bkdemo/bk_demo
$ cd bkdemo
# edit files using your favorite editor
$ bk -Ux new
$ bk commit -y"Comments"
$ bk push
As a user whose first CVS was git, I am quite confused by this "quick demo", I have no idea what "-uX" means, no idea what "new" means, no idea what "-y" means and why it is immediately followed by quotation marks instead of being separated by a single space. If bk wants to get new users onboard, it needs a better quick demo that makes sense to new users.
According to http://www.bitkeeper.com/testdrive:
* The -U option to bk tells it to operate on "user files". That is files that are not part of the BitKeeper metadata
* The modifier x corresponds to "extras", files which Bitkeeper doesn't know about (changed files is c)
* `new` adds files to the repository
* [on commit] the -y option is for changeset comments (~commit messages)
So `bk -Ux new` is `git add <untracked files>`[0] and `bk commit -y"thing"` is `git commit -m "thing"`
[0] aka `git add $(git ls-files -o --exclude-standard)` or `git add -i<RET> <a> <*> <q>`