Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with LFS still (seeming not purged from history) #248

Open
agm-eratosth opened this issue Oct 3, 2024 · 1 comment
Open

Issue with LFS still (seeming not purged from history) #248

agm-eratosth opened this issue Oct 3, 2024 · 1 comment

Comments

@agm-eratosth
Copy link

Hi,

What steps did you take in #247 to resolve the LFS file issue? Still having problems with the repo due to the LFS.

You should first check:

git lfs ls-files

to see if any files still exist.

Use https://github.com/newren/git-filter-repo the git filter-repo tool should remove the files from the history. I think you will need to run something like this:

git filter-repo --replace-refs delete-no-add --strip-blobs-bigger-than 0M

I can also try this at some point, especially if you know what commands you previously ran. Hopefully you get to it before me.

Thank you!

@ereoh
Copy link
Collaborator

ereoh commented Oct 7, 2024

Hi, thanks for making the issue. I followed GitHub's guide for removing files from LFS.

git filter-repo --invert-paths --path torchsig/gr-spectrumdetect/examples/detect.pt

I have also run your command and pushed it to the repo. Let me know if that worked or if you also have a fix.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants