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 extension worktreeConfig must be enabled to use this option. If only one working tree is in use, then --worktree does the exact same thing as --local. Also this option is only available if your installed Git version is at least 2.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