LWN.net Logo

Bazaar on the slow track

Bazaar on the slow track

Posted Sep 13, 2012 12:34 UTC (Thu) by hingo (guest, #14792)
In reply to: Bazaar on the slow track by juliank
Parent article: Bazaar on the slow track

This has not been my experience with git. As I remember from last time, I have to separately clone the git repo and then create my own branch or checkout an existing one. When I work with multiple branches I need to continuously checkout to jump to the one I want laid out in the filesystem. With bzr, all of this is just one command: branch. (Then you use cd to switch.)

Ok, maybe sometime I have actually used diff and status :-) But if you never make mistakes then you don't need to ;-)


(Log in to post comments)

Bazaar on the slow track

Posted Sep 13, 2012 12:43 UTC (Thu) by juliank (subscriber, #45896) [Link]

Normally, git automatically checks out whatever HEAD points to. You can also specify another branch to checkout when cloning, using the -b parameter:

git clone -b branch-i-want-to-look-at git://example.com/example.git

Bazaar on the slow track

Posted Sep 13, 2012 12:48 UTC (Thu) by hingo (guest, #14792) [Link]

Ok, so you can combine that into a single command, but in terms of cognitive overhead you are still doing 2 things. In bzr the branch is the only thing you need to know, and HEAD/trunk is no different from any other branch.

It's like the difference between Mac and Windows, if you will. One has 1 mouse buttons, the other has 2, and the first one is considered more elegant because of that :-)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds