Skip to content

Instantly share code, notes, and snippets.

@nwalberts
Created March 20, 2024 18:48
Show Gist options
  • Save nwalberts/5720b32286d2330a40a00fe41ecd4b71 to your computer and use it in GitHub Desktop.
Save nwalberts/5720b32286d2330a40a00fe41ecd4b71 to your computer and use it in GitHub Desktop.

Example: after a clinic, an experience engineer shared a link to the codebase in this repo https://github.com/LaunchAcademy/high-card-dealer-with-tests/tree/boston-44

This is a link to the branch that the code for that clinic is available at. Different branches for a codebase likely have different implementations from different cohorts.

How to Download

Take the base URL from the clinic. You get this if you click on the Github repo title e.g. high-card-dealer-with-tests, or by removing the segments of the url beginning with /tree

So https://github.com/LaunchAcademy/high-card-dealer-with-tests/tree/boston-44 becomes https://github.com/LaunchAcademy/high-card-dealer-with-tests

Run the following

git clone <base_url>
cd <name-of-app>
code .

If the work was done on a branch, you can also then switch branches and you will get the version shared by an EE

git checkout <branch-name>

Which would translate to the following for the link shared at the top:

git clone https://github.com/LaunchAcademy/high-card-dealer-with-tests
cd high-card-dealer-with-tests
git checkout boston-44
code .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment