Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- git filter-branch -f --prune-empty --tree-filter '
- if [ -f .gitattributes ]; then
- git rm -f .gitattributes
- fi
- find * -type f | while read FILE; do
- while head -2 "$FILE" | grep -q "^oid sha256"; do
- ref=$(cat "$FILE")
- echo -n "$ref" | git lfs smudge > "$FILE"
- git add "$FILE"
- done
- done' --tag-name-filter cat -- --all
Add Comment
Please, Sign In to add comment