I have a repository in Bitbucket that has ~160MB used, I deleted all branches. The repo is totally clear it continues saying that i have 160 MB used.
How can i real delete all the files in my repo. I dont want to create a new repo.
As adittion. If i add some files , for example "file.mp3" to the repo, then i delete it, it increase the Repo Size and i cannot reduce it again. I tried some post like this Atlassian Help.
Best,
EDIT: Im trying to use BFG. When i made a "bfg --strip-blobs-bigger-than 1M" i got:
Scanning packfile for large blobs: 115
Scanning packfile for large blobs completed in 16 ms.
Found 6 blob ids for large blobs - biggest=47522424 smallest=1515614
Total size (unpacked)=102234236
Found 2 objects to protect
Found 4 commit-pointing refs : HEAD, refs/heads/11.0.0-7, refs/heads/master, refs/notes/master
Protected commits
-----------------
These are your protected commits, and so their contents will NOT be altered:
* commit 57632224 (protected by 'HEAD')
Cleaning
--------
Found 3 commits
Cleaning commits: 100% (3/3)
Cleaning commits completed in 166 ms.
Updating 1 Ref
--------------
Ref Before After
-----------------------------------------
refs/heads/11.0.0-7 | b333507a | 37b0f5cb
Updating references: 100% (1/1)
...Ref update completed in 16 ms.
Commit Tree-Dirt History
------------------------
Earliest Latest
| |
. D .
D = dirty commits (file tree fixed)
m = modified commits (commit message or parents changed)
. = clean commits (no changes to file tree)
Before After
-------------------------------------------
First modified commit | b333507a | 37b0f5cb
Last dirty commit | b333507a | 37b0f5cb
Deleted files
-------------
Filename Git id
-----------------------------------------------------------
Image.png | 6481d63a (3,3 MB)
Sfile3.rpm | e8b6f2b8 (29,4 MB)
UserManual.pdf | 77c29187 (16,2 MB)
c.res | 92392c06 (1,4 MB)
xxxx.png | 6481d63a (3,3 MB)
file1 | f24d869b (45,3 MB)
file2 | 4e62ab09 (1,9 MB)
In total, 9 object ids were changed.