git clone <gist_url>
for cloning usinghttps
instead ofgit
works fine.
-
Grab your Gist URL, example:
https://gist.github.com/yourhandle/__5bac61ee3fe0083__
-
Alter slightly and clone:
git clone [email protected]:5c61ee3fe0083.git cd 5c61ee3fe0083
Source: https://til.hashrocket.com/posts/fculpbwa4x-work-with-a-gist-locally