Created
November 11, 2023 08:55
-
-
Save danieldownes/784af25818c3e7f8b118360d6663eb11 to your computer and use it in GitHub Desktop.
Resolve GIT LTS - file that should have been a pointer, but wasn't
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git lfs migrate import --no-rewrite "broken file.jpg" | |
# OR older, and slower way: | |
git rm --cached -r . | |
git reset --hard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment