假設要擷取kk4.4.2_1.0.0-ga這個branch:
$git clone git://git.freescale.com/imx/uboot-imx.git uboot-imx
$cd uboot-imx
$git checkout kk4.4.2_1.0.0-ga
如果是其他branch,可以在clone之後先檢視所有branch
$ git branch -a
然後
$ git checkout branch_name
即可。
假設要擷取kk4.4.2_1.0.0-ga這個branch:
$git clone git://git.freescale.com/imx/uboot-imx.git uboot-imx
$cd uboot-imx
$git checkout kk4.4.2_1.0.0-ga
如果是其他branch,可以在clone之後先檢視所有branch
$ git branch -a
然後
$ git checkout branch_name
即可。