Już dojrzałem do tego aby nie używać submodules ( za bardzo utrudniają życie )

Mam jednak drobny problem bo uzywam LFS i takie repo nie che się zmigrowac do subtree

zrobiłem sobie przykładowe repo zawierające LFS
https://github.com/mariuszmaximus/example_migrate_lfs.git
I chciałbym umieścić je w repo
https://github.com/mariuszmaximus/example_subtree.git

Kopiuj
git clone https://github.com/mariuszmaximus/example_subtree.git
cd example_subtree
git subtree add --prefix src/components https://github.com/mariuszmaximus/example_migrate_lfs.git main --squash
Kopiuj
$ git subtree add --prefix src/components https://github.com/mariuszmaximus/example_migrate_lfs.git main --squash
git fetch https://github.com/mariuszmaximus/example_migrate_lfs.git main
remote: Enumerating objects: 15, done.
remote: Counting objects: 100% (15/15), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 15 (delta 0), reused 9 (delta 0), pack-reused 0 (from 0)
Unpacking objects: 100% (15/15), 20.36 KiB | 251.00 KiB/s, done.
From https://github.com/mariuszmaximus/example_migrate_lfs
 * branch            main       -> FETCH_HEAD
Downloading src/components/bin/example.dll (47 KB)
Error downloading object: src/components/bin/example.dll (c70adf0): Smudge error: Error downloading src/components/bin/example.dll (c70adf09c5c8a51d364f9c8d63a628f0c8aea9cf62f5b39b52fb60e431715cf9): [c70adf09c5c8a51d364f9c8d63a628f0c8aea9cf62f5b39b52fb60e431715cf9] Object does not exist on the server: [404] Object does not exist on the server

Errors logged to 'D:\mariusz\pulpit\gity\_kasuj\_subtree\example_subtree\.git\lfs\logs\20241124T155501.8686382.log'.
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: src/components/bin/example.dll: smudge filter lfs failed

Jedyne utrudnienie jakie dodałem to zmigrowałem plik binarny do LFS i chciałbym aby LFS był umiesczony w LFS

Jak użyć subtree z plikami LFS ?


--
Nie przyjmuję reklamacji za moje rady, używasz na własną odpowiedzialność.
Programowanie bez formatowania to jak chodzenie ze spodniami spuszczonymi na kostki. Owszem da się ale po pierwsze nie wygodne, po drugie nieprzyzwoicie wygląda.
Przed zaczęciem nowego wątku przeczytam problem XY