If all you want to do is grab a remote repository and start using it as part of a project, the simplest thing to do is clone it, then check out all of its files. (It can get much more sophisticated than this, of course, but it's a simple way to get started.)

So, if you want, say, the Linux kernel source tree at, you can certainly do the following:

 $ bk clone mykernel
 $ cd mykernel
 $ bk -Ur co -Sq
The above checks out the tree into a directory whose name you can choose (in this case, mykernel), then runs through the SCCS directories, checking out all of the files so you can examine and use them.

(If you don't specify a destination directory name when you do the clone, by default, you'd get the directory name of the repo itself, so it's your choice if you want a different name.)

Depending on how complicated you're getting, you can also make clones of clones, but we'll leave that until later.

This topic: Dev > WebHome > BitKeeperNotes > BkCloneCheckOut
Topic revision: r3 - 2004-10-28 - 13:40:30 - WayneScott
SSL security by CAcert
Get the CAcert Root Certificate
This site is powered by the TWiki collaboration platform
IPv6 Ready
Copyright & 1999-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding the site? Send feedback