How to add a binary file to a GitHub Gist¶
First make sure git is installed on the local machine and then:
Create a new Gist
Clone to your local machine (replace
<hash>with your Gist’s hash):git clone git@gist.github.com:<hash>.git gistAdd and commit the binary:
cd gist git add VCForPython27.msi git commit -m "Added VCForPython27.msi binary"Push changes to GitHub:
git push origin
Acknowledgments¶
Credit goes to Mark for this great trick!