Skip to content

Instantly share code, notes, and snippets.

@sascha-andres
Last active November 24, 2017 13:07
Show Gist options
  • Save sascha-andres/dfaa17fde9db89bd38fa89a654552df1 to your computer and use it in GitHub Desktop.
Save sascha-andres/dfaa17fde9db89bd38fa89a654552df1 to your computer and use it in GitHub Desktop.
GIT LFS conversion
*.mp4 filter=lfs diff=lfs merge=lfs -text
git -c gc.reflogExpireUnreachable=0 -c gc.pruneExpire=now gc
for ref in `git show-ref | cut -d' ' -f2`; do
git lfs migrate import --include="*.jpg" --include-ref=$ref;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment