Git LFS on Bitbucket - labordynamicsinstitute/replicability-training GitHub Wiki
Git LFS is enabled, but limited to 5GB overall.
Setting up general exclusion
Create a file .lfsconfig
that includes:
[lfs]
fetchexclude = *
Adding LFS files
git lfs track "*.dta"
Cloning repo without LFS files
As usual, if the above is included.
Cloning repo and getting the LFS files
git lfs pull --include="*" --exclude=""
Removing LFS files
The following website has JS to delete them when logged in to the Bitbucket interface.