I have a repository on bitbucket that is using LFS. Since using it for some time, I\'ve decided to move the repository back to a space under my control. The only reason I used L
git lfs migrate export
From git lfs migrate help
:
Export
The export mode migrates Git LFS pointer files present in the Git history out of Git LFS, converting them into their corresponding object files.
git lfs ls-files
.filter=lfs
lines from ALL the .gitattributes
files in your repo. .gitattributes
can live anywhere so make sure you find them all otherwise this can cause migration issues later..gitattributes
.git status
.git lfs migrate export --everything --include .
git status
to make sure you have no changes. If you left .gitattributes
with filter=lfs
you might incorrectly have changes now.git lfs ls-files
.filter=lfs
lines from ALL your .gitattributes
..git/hooks
directory: pre-commit, post-commit, post-checkout, post-merge.$GIT_TRACE=1
there should be no sign of ...trace git-lfs: filepathfilter: accepting...