git lfs clean
Read the contents of a large file from standard input, and write a Git LFS pointer file for that file to standard output.
Clean is typically run by Git's clean filter, configured by the repository's Git attributes.
git-lfs-install(1), git-lfs-push(1), gitattributes(5).
Part of the git-lfs(1) suite.