Purpose: | Create a new branch that is a copy of an existing branch. |
||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Usage: | bzr branch FROM_LOCATION [TO_LOCATION] |
||||||||||||||||||||||||||||
Options: |
|
||||||||||||||||||||||||||||
Description: | If the TO_LOCATION is omitted, the last component of the FROM_LOCATION will be used. In other words, “branch ../foo/bar” will attempt to create ./bar. If the FROM_LOCATION has no / or path separator embedded, the TO_LOCATION is derived from the FROM_LOCATION by stripping a leading scheme or drive identifier, if any. For example, “branch lp:foo-bar” will attempt to create ./foo-bar. To retrieve the branch as of a particular revision, supply the –revision parameter, as in “branch foo/bar -r 5”. |
||||||||||||||||||||||||||||
Aliases: | get, clone |
||||||||||||||||||||||||||||
See also: |