Bzr tutorial Tour. Bazaar in five minutes — Bazaar v2.4.0dev6 documentation. Introduction Bazaar is a distributed version control system that makes it easier for people to work together on software projects. Over the next five minutes, you’ll learn how to put your files under version control, how to record changes to them, examine your work, publish it and send your work for merger into a project’s trunk. Introducing yourself Bazaar records changes to source code, and it records who made the change. The person is identified by their name and email address. (If you’re concerned about spam, you don’t need to use a real address that you actually read, but the convention is that it looks like an email address.) Before you start working, let’s tell Bazaar who you are. . $ bzr whoami "John Doe <john.doe@gmail.com>" You can check what identity is stored in Bazaar’s configuration: $ bzr whoami John Doe <john.doe@gmail.com> Starting a new project Let’s suppose we want to store a new project under Bazaar.
Adding files and then commit, which saves a snapshot of all versioned files: Bazaar Tutorial — Bazaar v2.4.0dev6 documentation. Introduction If you are already familiar with decentralized version control, then please feel free to skip ahead to “Introducing Yourself to Bazaar”. If, on the other hand, you are familiar with version control but not decentralized version control, then please start at “How DVCS is different.”
Otherwise, get some coffee or tea, get comfortable and get ready to catch up. The purpose of version control Odds are that you have worked on some sort of textual data – the sources to a program, web sites or the config files that Unix system administrators have to deal with in /etc. The chances are also good that you have made some sort of mistake that you deeply regretted. Perhaps you deleted the configuration file for your mailserver or perhaps mauled the source code for a pet project. Version control systems give users the ability to save changes to a branch by “committing a revision“. These revisions have other uses as well.
How DVCS is different The centralized model can have some drawbacks. Bazaar.