Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to delete completely files in BitBucket GIT?

Romuald Tisserand November 28, 2014

Hi,

Some of my fellows put in GIT some big, unwanted files. I'm trying to permanently remove them before they slow down any GIT operation, particularly clone and tag.

 

I've tried to use the BFG Repo Cleaner utility. Each time I ask this tool to remove a specific file, the file is found and removed. But in the end, when I run "git push" to update the bitbucket database, everything runs fine, but in the end, the unwanted files are still present.

 

Any idea? Thanks.

1 answer

1 accepted

1 vote
Answer accepted
Romuald Tisserand November 28, 2014

Answer to myself: RTFM!!

 

BFG Repo Cleaner works great, but before running it:

  • "git rm" / commit / push the unwanted files
  • your last commit must be "clean" because the tool won't touch it

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events