Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot commit, no files over 100MB

lee_runyon July 16, 2024

Okay, I have done the following

  1. Turned off the 100mb limit on my repo.
    1. This did not fix the issue, don't know what the button does, but it doesn't do what it says it does
  2. Developed Script to Evaluate Git and find files >100MB including 
    1. developed scripts to evaluate currently staged files
    2. developed scripts to evaluate all files in git history
    3. developed script to evaluate all files in git commit
  3. Applied BFG to remove the files from history
  4. Applied LFS for the files i needed to keep
  5. Rerun check scripts to confirm and validate that no files are above 100mb after cleaning.

I still cannot commit and every time it gets the following error. This is driving me totally nuts.

 

 

```

hint: The '.githooks/pre-push' hook was ignored because it's not set as executable. hint: You can disable this warning with `git config advice.ignoredHook false`. Enumerating objects: 138752, done. Counting objects: 100% (138752/138752), done. Delta compression using up to 6 threads Compressing objects: 100% (59073/59073), done. Writing objects: 100% (138752/138752), 432.91 MiB | 6.59 MiB/s, done. Total 138752 (delta 74357), reused 138611 (delta 74246), pack-reused 0 remote: Resolving deltas: 100% (74357/74357), done. remote: Your push has been blocked because it includes at least one file that is 100 MB or larger. Bitbucket Cloud recommends using Git LFS for large files to prevent repositories from growing too large and reaching the 4 GB repo size limit. Learn more about Git LFS at https://support.atlassian.com/bitbucket-cloud/docs/manage-large-files-with-git-large-file-storage-lfs/. If necessary, the file size limit can be disabled by an admin in Repository settings. Learn more at https://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size/#Avoid-adding-large-files. To bitbucket.org:leerunyons/<repo name>```

2 answers

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 18, 2024

Hey @lee_runyon ,

thank you for reaching out to Community!

Could you confirm if you have unchecked the option "Block pushes with files over 100MB" under the Repository settings of the repo you're trying to push?

Screenshot 2024-07-18 at 5.36.02 PM.png

For that setting to be saved, after unchecking the option, you need to click on Save changes.

Would you mind trying that and let us know how it goes?

Thank you, @lee_runyon !

Patrik S

 

0 votes
Nicolas Grossi
Banned
July 17, 2024

@lee_runyon Do you have LFS enabled ?

 

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events