Storing binaries on GitHub

I’ll tell you what to do if you are forced to store binaries on github. The problem is that they often do not start when Windows downloads from there with a .zip archive (link like[user]/[repo] / ). To solve this problem, you need to create a .gitattributes file inside, where you specify that git treats everything inside the turnip as binaries and does not put down BOMs (thanks to Serg Bloim for the tip). I do like this:

  1. create a private repository
  2. create such file in it .gitattributes
  3. inside file:
    * binary
  4. we throw binaries there through the web panel
  5. make the turnip public

This entry was posted in Git (en). Bookmark the permalink.

Leave a Reply

🇬🇧 Attention! Comments with URLs/email are not allowed.
🇷🇺 Комментарии со ссылками/email удаляются автоматически.