donatello donatello - 4 months ago 14
Git Question

How to clone a Github Gist via SSH protocol?

Github really seems to want us to use the HTTPS protocol to use Gists, for example, they only list the HTTPS url on a Gist page - e.g. https://gist.github.com/donatello/5834862

Is it possible to clone a Gist using SSH protocol?

Answer

Yes, it is possible:

git clone git@github.com:5834862.git

Just replace with your own Gist ID of course.