1

Is there any way to clear bitbucket's repo history cache?

Background: I used

git filter-branch --force --index-filter \
'git rm --cached --ignore-unmatch PATH-TO-YOUR-FILE-WITH-SENSITIVE-DATA' \
--prune-empty --tag-name-filter cat -- --all

to delete the FILE-WITH-SENSITIVE-DATA and clean the commits history. This worked smoothly. The file is no longer in commit.

But now, knowing the commit's hash I still can view the original commit in browser (which has the file's contents). Assumption is that is stored in bitbucket server's cache.

Any way I can make sure that even this cache is cleaned?

JP. Aulet
  • 4,375
  • 4
  • 26
  • 39
Andrey Deineko
  • 51,333
  • 10
  • 112
  • 145

1 Answers1

1

Contacting Bitbucket support asking them to run

git gc

resolved the issue.

Andrey Deineko
  • 51,333
  • 10
  • 112
  • 145
  • Can you please provide me the section of the contact? I am having trouble of finding the right section to ask. It always takes me to purchasing licenses.. – bapors Feb 15 '18 at 13:08