-
Create your Gist with some contents, e.g.
readme.mdfile -
Clone locally
# with ssh
git clone [email protected]:<hash>.git mygist
# or with https
git clone https://gist.github.com/<hash>.git mygist
- Add images to the project
cd mygist
git add *.png # or whatever is applicable in your case
git status
git commit -m "Add images"
- Push remote
git push origin master
- Access the files
open https://gist.github.com/<username>/<hash>
Raw file
https://gist.githubusercontent.com/<username>/<gist-sha>/raw/<commit-sha>/image1.png