I want to download source code from the master-next branch using git as described in the Xilinx wiki .
I tried this:
#git clone git://github.com/Xilinx/u-boot-xlnx/tree/master-next.git
Initialized empty Git repository in /home/Hannan/master-next/.git/
fatal: remote error:
Xilinx/u-boot-xlnx/tree/master-next is not a valid repository name
Email support@github.com for help
Even this failed:
# git clone git://github.com/Xilinx/tree/master-next/u-boot-xlnx.git
Initialized empty Git repository in /home/Hannan/u-boot-xlnx/.git/
fatal: remote error:
Xilinx/tree/master-next/u-boot-xlnx is not a valid repository name
Email support@github.com for help
The command that works is:
git clone git://github.com/Xilinx/u-boot-xlnx.git
But how do I know that this will indeed fetch the master-next branch and not the master branch ? How do I correctly fetch a specific branch using git?
I am using RHEL 6, accessed via PuTTY.
Asked by user2799508
(1732 rep)
Apr 29, 2014, 10:24 AM
Last activity: Aug 18, 2024, 04:36 AM
Last activity: Aug 18, 2024, 04:36 AM