Add Binary to GitHub Gist
A neat little trick to keep binaries around which might disappear otherwise - or simply to add pictures to your Gists
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 [email protected]:<hash>.git gist
Add and commit the binary:
cd gist git add VCForPython27.msi git commit -m "Added VCForPython27.msi binary"
Push changes to GitHub:
git push origin
Acknowledgements
Credit goes to Mark for this great trick!
Last updated
Was this helpful?