Cannot remove files from repository above quota #52302
Replies: 3 comments 2 replies
-
Hi @mikebolt 👋🏽, It seems like you've reached the repository size limit on GitHub. To resolve this issue, you can reduce the repository size by removing the large files from the history and then force pushing the changes. Here's a step-by-step guide to help you achieve this:
Replace 3.2 Using BFG Repo-Cleaner:
Replace
After completing these steps, your repository should be under the size limit, and you should be able to push new commits. If you still face issues, you might consider creating a new repository and manually adding the necessary files, while making sure to avoid adding the large files that caused the problem initially. I hope this helps! Let me know if you have any questions or need further assistance. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick reply. I followed these steps exactly with
I'm going to make a new repo, but I'm curious how to fix this error in case I run into something like this in the future. |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
I am unable to push anything to a public repository I created because it hit the size quota. I want to remove about 10% of the data while I work on compressing it. I could manually delete files in the GitHub Web UI, but there are two problems with that. One problem is that it would take a long time. The other problem is that even after I deleted a few files this way, I was unable to make any kind of push with new data, even a few bytes. I also could not force push a commit with --amend that removed files. So it seems that I have no way to get this repository back under the quota. I might just start over. Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions