checking out specific branches

Michel Dänzer michel at tungstengraphics.com
Wed May 16 14:49:49 PDT 2007


On Wed, 2007-05-16 at 16:04 +0200, Vedran Rodic wrote:
> 
> How do I checkout a specific branch of a driver or another project?
> 
> Freedesktop wiki page says I should use 'git branch' to get a list of
> available branches, but for the 
> xf86-video-intel and xserver repositories it only returns '*master'. 'git branch -r' displays a list of branches prefixed with origin, but I was unable to check them out successfuly. 

Try

git-branch -b <branch> origin/<branch>


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer




More information about the xorg mailing list