CubieBoard Forum

Cubieboard itself => Beginners => Topic started by: diracsbracket on July 18, 2014, 12:05:44 am

Title: How to git a particular branch of cubieboard git site?
Post by: diracsbracket on July 18, 2014, 12:05:44 am
Hi,
On the webpage https://github.com/cubieboard/linux-sunxi, there is a list of branches
in the branch combo box:

cb2/sunxi-3.4
ct/sunxi-3.4
cubie/sunxi-3.4
cubie/sunxi-3.4.79

etc...

How are  they different?
And how can I check out a particular branch using the git command in Linux ?
(Instead of downloading the zip file).

Thanks for your kind comments!
Title: Re: How to git a particular branch of cubieboard git site?
Post by: d1dd1 on July 18, 2014, 01:31:15 am
Quote from: diracsbracket on July 18, 2014, 12:05:44 am
And how can I check out a particular branch using the git command in Linux ?
(Instead of downloading the zip file).


git clone https://github.com/cubieboard/linux-sunxi/ -b [branch name] /destination/folder
Title: Re: How to git a particular branch of cubieboard git site?
Post by: diracsbracket on July 18, 2014, 05:41:28 am
Hi d1dd1,
Thanks for your help!
It works.