Stream: github
Topic: Clone R4B
Rik Smithies (Feb 09 2021 at 20:40):
If I use the green Code button here https://github.com/HL7/fhir/tree/R4B, my desktop client wants to get https://github.com/hl7/fhir. That doesn't seem to be the R4b branch. If I use "Download ZIP" on the same green button, it does get the R4B branch. So how do I do a regular clone of the R4B branch?
Vassil Peytchev (Feb 09 2021 at 20:44):
I think that you need to get the whole thing locally, and do git checkout R4B
to get to the R4B branch...
Rik Smithies (Feb 09 2021 at 21:07):
That seems to be it! thanks Vassil
Gino Canessa (Feb 09 2021 at 21:07):
You can also clone a single branch, should be something like git clone --single-branch --branch R4B https://github.com/hl7/fhir
, IIRC
edit: e.g., if you have the full repo in another location and just want that branch somewhere else
Last updated: Apr 12 2022 at 19:14 UTC