Forums

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

Can not force push after file size reaches hard limit

Li Tan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 10, 2018

Hi, 

    after repository file size reaches 2GB limit, i tried to use git reset --hard HEAD~1 and git push --force to rewind the repository back. 

    but after i run the commands for a few times, the size increased even more to 7.4 GB and i can not force push anymore.  

   it returns me the error 

remote: abort: repository is in read only mode (over 2 GB size limit). Learn how to reduce your repository size: https://confluence.atlassian.com/x/xgMvEw.

fatal: unable to access 'https://otanlio@bitbucket.org/redeye_robot/all-stars-client.git/': The requested URL returned error: 403

 

1 answer

1 accepted

0 votes
Answer accepted
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 12, 2018

Hi Li!

I've checked your Bitbucket Cloud account but looks like you don't own any repositories. Can you let us know the name of the repo you were referring to, so we can have a look?

Kind regards,

Ana

Li Tan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 13, 2018

Hi, 

thanks for the replay, we contacted the support, after they  run a git gc on remote, the size is back to normal now.

Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 14, 2018

Glad to hear that!

:)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events