ssa-perin / cleanup.sh
larkkin's picture
Add code
991f07c
raw
history blame contribute delete
203 Bytes
#!/bin/bash
lfs_files=($(git lfs ls-files -n))
for file in "${lfs_files[@]}"; do
git cat-file -e "HEAD:${file}" && git cat-file -p "HEAD:${file}" > "$file"
done
rm -rf .git/lfs/objects