Most used Bazaar commands
|
Checking out a project
|
svn co URL working_directory
|
bzr co --lightweight URL working_directory
|
|
Adding new files
|
svn add file1 file2
|
bzr add file1 file2
|
|
Viewing history
|
svn log
|
bzr log --short
|
|
svn log -r 10:25
|
bzr log -r 10..25
|
|
|
Changing to a previous revision
|
svn up -r 25
|
bzr revert -r 25
|
|
Create a branch
|
bzr branch [Repository_URL] [New_Branch_Url]
|
|
Commit with message
|
bzr commit -m "[MESSAGE]"
|
|
Get the status of a file (modified, added, ...)
|
bzr status
|
|
Detect files that have been moved
|
bzr move --auto
|
|
Revert the working tree to the latest revision in the branch
|
bzr revert
|
|
Revert the working tree back to a specific revision N
|
bzr revert -rN
|
|
Checkout the code locally
|
brz checkout [Repository_Url] [local_path]
|
|
Get the status (modified, added, ...)
|
bzr status
|
|
Show changes between the last revision in this branch, and the current tree
|
bzr diff
|
|
History of the branch
|
bzr log
|
|
bzr build [Recipe_Repository_URL] [tmp_name_of_merge]
|
bzr build [Recipe_Repository_URL] [tmp_name_of_merge]
|
|
Push the merged code to the parent
|
bzr push :parent
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.