# Feature request: match GitHub file size limits

**URL:** <https://discuss.huggingface.co/t/feature-request-match-github-file-size-limits/131646>\
**Category:** Spaces\
**Created:** [December 16, 2024, 4:19am UTC](https://discuss.huggingface.co/t/feature-request-match-github-file-size-limits/131646 "2024-12-16T04:19:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![trusktr](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/trusktr/32/37636_2.png) [@trusktr](https://discuss.huggingface.co/u/trusktr)\
**Post date:** [December 16, 2024, 4:19am UTC](https://discuss.huggingface.co/t/feature-request-match-github-file-size-limits/131646/1 "2024-12-16T04:19:23Z")

</div>

Trying to use Git LFS because HuggingFace’s file size limit is smaller than GitHub’s makes it really cumbersome to migrate a repo from GitHub to HuggingFace.

I spent hours today creating my first HuggingFace account and trying to push my first repo, but no luck yet:

> [@Added my SSH key, cannot push to Spaces repo](https://discuss.huggingface.co/t/im-brand-new-to-hf-added-my-ssh-key-cannot-push-to-spaces-repo/131631?a):
>
> Hello, this is my first time using HuggingFace (I’ve been using GitHub for a long time), and I’m super excited to push code repos with live examples! I added my SSH key in settings, but it will not let me push to my new Spaces repo. Here’s my new account: [trusktr (Joe Pea)](https://huggingface.co/trusktr) I can verify that SSH works, like so: $ ssh git@hf.co PTY allocation request failed on channel 0 Hi anonymous, welcome to Hugging Face. Connection to hf.co closed. (It says “anonymous”, does that indicate an problem insid…

> [@Git lfs enabled but git push throwing error file larger then 10MB](https://discuss.huggingface.co/t/git-lfs-enabled-but-git-push-throwing-error-file-larger-then-10mb/49198/2):
>
> I’m having the same issue. ❯ git lfs install --force Updated Git hooks. Git LFS initialized. ❯ git push --recurse-submodules=no hf main -f Enumerating objects: 18207, done. Counting objects: 100% (18207/18207), done. Delta compression using up to 8 threads Compressing objects: 100% (5958/5958), done. Writing objects: 100% (18207/18207), 72.05 MiB | 412.15 MiB/s, done. Total 18207 (delta 13634), reused 16293 (delta 11969), pack-reused 0 remote: Resolving deltas: 100% (13634/13634), done. remote…

I think that, if the file size limits can be increased to match those of GitHub, it will enable many people on GitHub to transfer to HuggingFace without any issues (without needing Git LFS) which could be a really good strategic move for HuggingFace.

For now, as awesome as HuggingFace is looking, I may have to stay on GitHub because it seems like migrating to Git LFS is a big pain. I would love to be able to come back to this later and simply `git push` my GitHub repo and it works, without the LFS hassle.

---

<div class="post-metadata">

**Author:** ![trusktr](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/trusktr/32/37636_2.png) [@trusktr](https://discuss.huggingface.co/u/trusktr)\
**Post date:** [September 10, 2025, 2:30am UTC](https://discuss.huggingface.co/t/feature-request-match-github-file-size-limits/131646/2 "2025-09-10T02:30:48Z")

</div>

Please HF 🙏 , please let me port my existing repos from GitHub to HF without having to rewrite all their histories to use Git LFS. 🙏
