1GIT-LFS-UNINSTALL(1) General Commands Manual GIT-LFS-UNINSTALL(1)
2
3
4
6 git-lfs-uninstall - Remove Git LFS configuration
7
9 git lfs uninstall
10
12 Perform the following actions to remove the Git LFS configuration:
13
14 ○ Remove the "lfs" clean and smudge filters from the global Git con‐
15 fig.
16
17 ○ Uninstall the Git LFS pre-push hook if run from inside a Git repos‐
18 itory.
19
20
21
23 --local
24 Removes the "lfs" smudge and clean filters from the local repos‐
25 itory´s git config, instead of the global git config (~/.gitcon‐
26 fig).
27
28 --worktree
29 Removes the "lfs" smudge and clean filters from the current
30 working tree´s git config, instead of the global git config
31 (~/.gitconfig) or local repository´s git config ($GIT_DIR/con‐
32 fig). If multiple working trees are in use, the Git config ex‐
33 tension worktreeConfig must be enabled to use this option. If
34 only one working tree is in use, --worktree has the same effect
35 as --local. This option is only available if the installed Git
36 version is at least 2.20.0 and therefore supports the "work‐
37 treeConfig" extension.
38
39 --system
40 Removes the "lfs" smudge and clean filters from the system git
41 config, instead of the global git config (~/.gitconfig).
42
43 --skip-repo
44 Skips cleanup of the local repo; use if you want to uninstall
45 the global lfs filters but not make changes to the current repo.
46
48 git-lfs-install(1), git-worktree(1).
49
50 Part of the git-lfs(1) suite.
51
52
53
54 October 2021 GIT-LFS-UNINSTALL(1)