ControlledChaos
4/10/2019 - 10:06 PM

triplet-color-theory.jpg

Add an image to your gist

Credit: How to add an image to a gist

  1. Create or find a gist that you own.

  2. Clone your gist (replace <hash> with your gist's hash):

    # with ssh
    git clone git@gist.github.com:<hash>.git mygist
    
    # with https
    git clone https://gist.github.com/<hash>.git mygist
    
  3. Change to your gist’s directory:

    cd mygist
    
  4. Add and commit the image:

    git add tulip.jpg
    git commit -m "Add tulip to gist"
    

    The ideal size is 750 × 200 pixels.

  5. Update remote:

    git push origin master
    

Pin image to your GitHub profile

On your GitHub profile page, press "Customize your pins" and find the Gist you just created.

See @nat’s twitter announcement for an animated explanation