Binary code #66478
Replies: 4 comments 2 replies
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as spam.
This comment was marked as spam.
-
|
@v-maletych GitHub, like many other code hosting platforms, has specific policies and limitations regarding the types of content that can be stored on its platform. While you can certainly store source code, text-based configuration files, and many other types of files on GitHub, there are some reasons why you generally cannot store binary code directly on the platform: Size and bandwidth constraints, version control, performance, Git LFS, legal and licensing issues... |
Beta Was this translation helpful? Give feedback.
-
|
Hi, GitHub does allow binary files, but there are a few important limits and security rules that often cause confusion. Why you may not be able to upload “binary code”1. File size limitsGitHub has strict size rules:
If your binary is large, upload will fail. 2. Git is not designed for binariesGit works best with text-based code, because:
3. Git LFS is required for large binariesFor binaries like:
You should use Git Large File Storage (LFS):
Example: 4. Security restrictions (rare cases)GitHub may block uploads if:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
why can't upload the binary code to github?
Beta Was this translation helpful? Give feedback.
All reactions