Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Add Binary to GitHub Gist

How to add a binary file to a GitHub Gist

First make sure git is installed on the local machine and then:

  1. Create a new Gist

  2. Clone to your local machine (replace <hash> with your Gist’s hash):

    git clone git@gist.github.com:<hash>.git gist
  3. Add and commit the binary:

    cd gist
    git add VCForPython27.msi
    git commit -m "Added VCForPython27.msi binary"
  4. Push changes to GitHub:

    git push origin

Acknowledgments

Credit goes to Mark for this great trick!