Skip to content

delete target/ from history #89

@hojjatabdollahi

Description

@hojjatabdollahi

Cloning this repo downloads hundreds of megabytes of data because apparently target/ was committed by mistake once. You can use filter-repo to delete it from the history:

git filter-repo --path target/ --invert-paths

and then force push the branches back to github:

git push origin --all --force
git push origin --tags --force

That'll change the git hashes but the author, or date or anything else about the commits stays the same. and the repo will be a couple of megabytes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions