How to migrate from Git-Annex to Git LFS
问题 How can I migrate a repository in which I'm managing large files with Git-annex to manage them with Git LFS? Which commands should I run to disable annex and enable LFS? 回答1: After struggling a little bit, I've found the answer for this equation! We need to change annex mode to direct first, then git annex uninit , then change the mode back to indirect , then add, commit and push. $ git annex direct $ git annex uninit $ git annex indirect # add, commit and push # track with LFS (per file,