Skip to content

Instantly share code, notes, and snippets.

@gaborpapp
Created June 15, 2017 21:02
Show Gist options
  • Save gaborpapp/4f7444443c99d60cdf2b1c58153989fa to your computer and use it in GitHub Desktop.
Save gaborpapp/4f7444443c99d60cdf2b1c58153989fa to your computer and use it in GitHub Desktop.
Script to solve "Error downloading object... smudge filter lfs failed" git error
#!/bin/bash
ret=1
while [ $ret -ne 0 ]; do
git checkout -f HEAD
ret=$?
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment