Skip to content

Instantly share code, notes, and snippets.

@ynaoto
Created April 18, 2020 17:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ynaoto/1b8381518df4049f13f9a5da38e1868c to your computer and use it in GitHub Desktop.
Save ynaoto/1b8381518df4049f13f9a5da38e1868c to your computer and use it in GitHub Desktop.
LFS外し
git lfs uninstall
rm .gitattrubutes
git add .gitattrubutes
git lfs ls-files | sed 's/^............ //' | while read f; do
git lfs migrate export --yes --everything --include "$f";
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment