GIT-LFS-UNINSTALL(1)
π GIT-LFS-UNINSTALL(1) π
okay bestie, welcome to the git-lfs-uninstall page β this is from the git-lfs suite and it's literally the "undo" button for your Git LFS configuration π
β¨ NAME β¨
git-lfs-uninstall β removes your Git LFS configuration, no cap π§Ή
β¨ SYNOPSIS β¨
git lfs uninstall
β¨ DESCRIPTION β¨
so when you run this, it does the following little tasks to strip out your Git LFS config π:
- π§½ Removes the
"lfs"clean and smudge filters from the global Git config. - πͺ Uninstalls the Git LFS pre-push hook β but only if you're running it from inside a Git repository, iykyk.
β¨ OPTIONS β¨
-l,--localβ instead of touching the global git config, this removes the"lfs"smudge and clean filters from the local repository's git config π-w,--worktreeβ removes the"lfs"smudge and clean filters from the current working tree's git config, instead of the global git config (~/.gitconfig) or the local repository's git config ($GIT_DIR/config). π careful though: if multiple working trees are in use, the Git config extensionworktreeConfigmust be enabled to use this option. If only one working tree is in use, then--worktreedoes the exact same thing as--local. Also this option is only available if your installed Git version is at least2.20.0(that's the version that supports the"worktreeConfig"extension), so check that first bestie π«Ά--systemβ removes the"lfs"smudge and clean filters from the system git config, instead of the global git config (~/.gitconfig) π₯--file=<file>β removes the lfs smudge and clean filters from whichever Git configuration file you point at with the <file> argument π--skip-repoβ skips cleanup of the local repo. use this when you wanna uninstall the global lfs filters but not make any changes to the current repo π
β¨ SEE ALSO β¨
git-lfs-install(1), git-worktree(1) πΈ
and remember, this is all part of the git-lfs(1) suite π
mwah, that's the whole page π this was GIT-LFS-UNINSTALL(1), source/version GIT-LFS-UNINSTALL(1) β go forth and uninstall slayfully, 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