HOWTO-developer(7.3ce) BitKeeper User's Manual HOWTO-developer(7.3ce)
NAME
bk Howto-developer - howto: working with BitKeeper repositories
DESCRIPTION
Here is an example sequence of commands used to create a new package,
import files into the package, create a clone of the package for modi-
fications, do some work in the clone, pull new work from the master
tree down, merge, and then push the work back up.
# Create a clone on your development machine.
# The destination directory should not exist.
bk clone bk://host.domain:6666/project ~/myproject
# Do some work.
cd ~/myproject
bk vi index.cgi
# Check it in and create a changeset.
bk citool
# Pull any new work down from the work tree.
# This example assumes that someone else also changed
# "index.cgi" and their changes overlapped the local changes.
# The pull command will say that there are
# overlapping changes and will not apply the new work.
bk pull
# Resolve the conflicts. This step is only necessary if pull
# said there were conflicts which could not be automerged.
bk resolve
# push the merge and the local changes back up.
bk push
SEE ALSO
bk Howto
CATEGORY
Overview
BitKeeper Inc 1E1 HOWTO-developer(7.3ce)