-
Create a gist if you haven't already.
-
Clone your gist:
# make sure to replace `<hash>` with your gist's hash git clone https://gist.github.com/<hash>.git # with https git clone [email protected]:<hash>.git # or with ssh
-
Add your image to your gist's repository:
git add your-image.jpg
-
Commit the image:
git commit -m "Add image"
-
Update gist:
git push origin master
Forked from remarkablemark/how-to-add-image-to-gist.md
Created
January 31, 2017 14:59
-
Star
(165)
You must be signed in to star a gist -
Fork
(37)
You must be signed in to fork a gist
-
-
Save mroderick/1afdd71aa69f6b29601d335751a1a9be to your computer and use it in GitHub Desktop.
How to add an image to a gist
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.