Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-10876

Repository size is wrong after erasing historical files

    XMLWordPrintable

Details

    Description

      I had a repository that was 6.3MB and I wanted to free up space, so I ran git filter-branch --prune-empty --index-filter 'git rm -rf --cached --ignore-unmatch GIANT-FILE' --tag-name-filter cat – --all and then git push origin -f *. After cloning, the repository size is correct (248K), but the project's settings page still shows that the repository is 6.3MB.

      Attachments

        Activity

          People

            Unassigned Unassigned
            f932e5400ad8 stonewareslord
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: