Skip to content

Git LFS suddenly stopped working on Windows10 machine #22138

Discussion options

You must be logged in to vote

Hi Maxwell167! 👋

I’m not sure what caused the initial problem, but judging from your screenshot the large object has been committed to your regular Git history.

Adding LFS tracking for a file that’s already been committed to the Git repo doesn’t automatically move it to LFS. You’ll need to first remove the file completely from the repository’s regular Git history, and then add it to LFS. You can remove the file from the history by following our guide:

https://help.github.com/en/github/authenticating-to-github/removing-sensitive-data-from-a-repository

Alternatively, there is a migration tool that you can use which will migrate your files over to LFS without having to delete and re-add them:

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants