Skip to content

Git history was not updated #531

@ratnamukhesh

Description

@ratnamukhesh

Hi, my leadership has asked to provide the report after removing certain jars in the repo.

I tried the BFG tool on a small repo( one year of commit history). I do see a commit history difference before the push.

But when I run the BFG tool on a large repo( 15 years of commit history). I do not see a commit history difference. ( bfg -D "{xxx.jar, aaa.jar}" /repo/path/test.git)

Details:
Before After
-------------------------------------------
First modified commit | 2d565b5b | 967f2741
Last dirty commit | d12aafbf | e39ff135

Executed : git reflog expire --expire=now --all && git gc --prune=now --aggressive

I can reach 2d565b5b with this commit using git rev-list commitID (or other, git log). But 967f2741 is not able to reach (getting unknown revision or path not in the working tree.) -- before push

Could you please clarify? Am I missing something?

How can I confirm and check commit history has been updated?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions