Purpose: | Make a directory into a versioned branch. |
||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Usage: | bzr init [LOCATION] |
||||||||||||||||||||||||||||
Options: |
|
||||||||||||||||||||||||||||
Description: | Use this to create an empty branch, or before importing an existing project. If there is a repository in a parent directory of the location, then the history of the branch will be stored in the repository. Otherwise init creates a standalone branch which carries its own history in the .bzr directory. If there is already a branch at the location but it has no working tree, the tree can be populated with ‘bzr checkout’. Recipe for importing a tree of files: cd ~/project
bzr init
bzr add .
bzr status
bzr commit -m "imported project"
|
||||||||||||||||||||||||||||
See also: |