2 minutes guide to getting started with Launchpad/Bazaar via Lucid Ubuntu 10.04

I just added some contents from allready existing 5 minutes guide to make it 2 mins and work on Lucid. 🙂

Before i start you need to have 2 things allready done,
1. $ apt-get install bzr
2. A launchpad account.
3. Your public key submitted at launchpad.
It means create a key is you don`t have allready
$ ssh-keygen -t rsa

you will see in /home//.ssh/rsa.pub created paste its content there.

4. bzr lp-login john.doe  <replace it with your username>

Adding your own info

$ bzr whoami "John Doe <john.doe@gmail.com>"

You can check what identity is stored in Bazaar’s configuration:

$ bzr whoami
john.doe

Starting New project

bzr init-repo myproject
cd myproject
bzr init trunk
cd trunk

Adding Files

bzr add hello.txt

and then commit, which saves a snapshot of all versioned files:

bzr commit -m “Added first line of text”

Pushing your branch on Launchpad

Replace john doe with your username.

bzr push bzr+ssh://bazaar.launchpad.net/~john.doe/+junk/myproject
your done.
Pushing the changes in existing branch.
bzr push


Original post :- http://doc.bazaar.canonical.com/latest/en/mini-tutorial/
thanks @jelmet on #juju helping me.