GIT-LFS-CLEAN(1)
π NAME π
Okay bestie, welcome to the GIT-LFS-CLEAN(1) page β git-lfs-clean is the Git clean filter that converts large files to pointers. It's giving βbig file goes in, smol pointer comes out.β π
β¨ SYNOPSIS β¨
git lfs clean <path>
That's the whole call, bestie. The path placeholder is right there in the synopsis. π
π¦ DESCRIPTION π¦
Okay so here's the tea: git-lfs-clean reads the contents of a large file from standard input, and writes a Git LFS pointer file for that file to standard output. Literally the glow-up from big file to pointer. β¨
Clean is typically run by Git's clean filter, configured by the repository's Git attributes. So it's lowkey doing its thing in the background, iykyk. π
Clean is not part of the user-facing Git plumbing commands. Important vibe check! If you wanna preview the pointer of a large file as it would be generated, see the git-lfs-pointer(1) command. π
πΈ SEE ALSO πΈ
Part of the git-lfs(1) suite. Whole fam, no cap. π«Ά
π
Signing off from the GIT-LFS-CLEAN(1) footer β no extra source/version/date info was in this one, just the page name doing its lil encore. Stay slay, bestie. π¦
π¦ where this page comes from
- arch rolling: git-lfs 3.8.1-1 Β· MIT
- nixos 26.05: git-lfs 3.8.1
- nixpkgs unstable: git-lfs 3.8.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms