Timeline for Fetch a specific branch using git
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 29, 2014 at 12:01 | comment | added | Leiaz |
You didn't need clone anymore. The command you showed in your question gave you the repository with all the branches. But this is correct too. It's equivalent to doing git checkout master-next after cloning.
|
|
| Apr 29, 2014 at 11:47 | comment | added | user2799508 | What I did is this: "git clone -b master-next github.com/Xilinx/u-boot-xlnx.git" is this not correct ? | |
| Apr 29, 2014 at 11:16 | comment | added | Leiaz | No they are not merged. A branch in git is not a copy of the whole directory, as explained here. | |
| Apr 29, 2014 at 11:10 | comment | added | user2799508 | "clone command you ran gave you a copy of the whole repository".whole repository means both branches merged ? | |
| Apr 29, 2014 at 11:08 | history | answered | Leiaz | CC BY-SA 3.0 |