Skip to content

Instantly share code, notes, and snippets.

@danieldownes
Created November 11, 2023 08:55
Show Gist options
  • Save danieldownes/784af25818c3e7f8b118360d6663eb11 to your computer and use it in GitHub Desktop.
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
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