Skip to content

Instantly share code, notes, and snippets.

@stevewithington
Last active February 26, 2021 13:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevewithington/7ba09696c1aedc06f005b12b8d40d2a8 to your computer and use it in GitHub Desktop.
Save stevewithington/7ba09696c1aedc06f005b12b8d40d2a8 to your computer and use it in GitHub Desktop.
Add Image(s) to Gist

Add Image(s) to Gist

If you don't already have an existing gist, you'll need to create one before proceeding.

Clone Your Gist

git clone https://gist.github.com/<hash>.git # via https
git clone git@gist.github.com:<hash>.git     # via ssh

Add Your Image(s)

Make sure the images are at the root of the gist and not in a subdirectory.

git add <some-image>.<jpg|png|gif|etc.>

Commit & Push

git commit -m 'Add Image(s)'
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment