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