Upload a binary using a browser on github?

How to upload a new binary to Github?

I am trying to download some woff fonts, but I can’t, because Github allows me to add a text file, and not how to download it, even if this request has been resolved.

+5
source share
2 answers

Since February 2016, you can add / create / upload new files from the GitHub web interface .
See " Uploading files to your repositories :

You can click the "Upload Files" button on the toolbar at the top of the file tree.

https://cloud.githubusercontent.com/assets/1369864/12961550/b9a688ea-d006 -11e5-96d3-ac91097192a5.png

Or you can drag and drop files from your desktop into the file tree.

https://cloud.githubusercontent.com/assets/1369864/12961164/a888b59e-d004 -11e5-80a6-e9f32f17c4d5.gif

This replaces the creation of the file described in the answer of 2012 , and adds the ability to upload (for one or more files).


Original answer (March 2015)

The only part of the GitHub web interface that allows you to click on the binary (or any other file you want) when the release is created .
Then you can drag any binaries you need:

https://help.github.com/assets/images/help/releases/releases_adding_binary.gif

But for a regular repo, when creating new files , you can only edit a new file, not drag & drop the existing binary content:

https://help.github.com/assets/images/help/repository/new-file-content.png

So for now this is not possible (March 2015)


+3
source

Like today (02/19/2016), this option is available!

enter image description here

0
source

Source: https://habr.com/ru/post/1215364/


All Articles