Bfg-repo-cleaner: How to `Examine the repo to make sure your history has been updated`

Created on 6 Mar 2017  路  2Comments  路  Source: rtyley/bfg-repo-cleaner

Hi all,
I would like to remove some files from git (using replace text).
The "tutorial" online states Examine the repo to make sure your history has been updated but, how should one do it? I generally use sourcetree, but It cannot open the folder where the edits where made.

Moreover, how can I go back if something is not correct?

Most helpful comment

If you followed the instructions, the repo you have cleaned might be bare, which could explain the trouble you are having with tools inspecting it. You can clone the cleaned/bare repo then inspect the history as you normally would, to check what history has been rewritten.

If something is not correct, you can re-clone the original repo and try again.

All 2 comments

If you followed the instructions, the repo you have cleaned might be bare, which could explain the trouble you are having with tools inspecting it. You can clone the cleaned/bare repo then inspect the history as you normally would, to check what history has been rewritten.

If something is not correct, you can re-clone the original repo and try again.

As a follow-up to @javabrett, I wasn't sure how to "clone the cleaned/bare repo" so this article helped me figure that out. https://stackoverflow.com/questions/12450245/getting-a-working-copy-of-a-bare-repository
Learned something new!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jceaser picture jceaser  路  6Comments

dwabyick picture dwabyick  路  8Comments

Adnansamiuu picture Adnansamiuu  路  4Comments

rlam3 picture rlam3  路  5Comments

notslang picture notslang  路  5Comments