# 1MB File size restriction

**URL:** <https://forum.codecrafters.io/t/1mb-file-size-restriction/250>\
**Category:** Announcements\
**Created:** [May 2, 2024, 5:01pm UTC](https://forum.codecrafters.io/t/1mb-file-size-restriction/250 "2024-05-02T17:01:57Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![rohitpaulk](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/rohitpaulk/32/6_2.png) [@rohitpaulk](https://forum.codecrafters.io/u/rohitpaulk)\
**Post date:** [May 7, 2024, 8:00pm UTC](https://forum.codecrafters.io/t/1mb-file-size-restriction/250/3 "2024-05-07T20:00:31Z")

</div>

In the meantime if you’re running into this, this most likely means that you have a large file (\> 1MB) that isn’t ignored via `.gitignore`.

If the file is on the latest commit, just deleting + amending the last commit should work. If they’re on commits before the latest one, you might need to edit history — [BFG Repo-Cleaner by rtyley](https://rtyley.github.io/bfg-repo-cleaner/) can help.

If you’re unable to identify the large file, feel free to send us a `.zip` of your repository to [hello@codecrafters.io](mailto:hello@codecrafters.io), and we’ll take a look!

---

_[View the full topic](https://forum.codecrafters.io/t/1mb-file-size-restriction/250)._
