Linked Questions

Popular Questions

I want to use LFS for an existing Git repository and track *.foo files, converting the files in history too. I guess I can do this:

git lfs track "*.foo"
# changed `.gitattributes` and all `.foo` files
commit -a -m "Started tracking foo files."
git lfs migrate import --everything --include="*.foo"

Should I track the files before importing the repository, as I do above, or should I do that afterwards? Does it matter?

Related Questions