| 1 |
= git-lfs-uninstall(1) |
| 2 |
|
| 3 |
== NAME |
| 4 |
|
| 5 |
git-lfs-uninstall - Remove Git LFS configuration |
| 6 |
|
| 7 |
== SYNOPSIS |
| 8 |
|
| 9 |
[source,role=synopsis,subs="verbatim,quotes"] |
| 10 |
---- |
| 11 |
*git lfs uninstall* |
| 12 |
---- |
| 13 |
|
| 14 |
== DESCRIPTION |
| 15 |
|
| 16 |
Perform the following actions to remove the Git LFS configuration: |
| 17 |
|
| 18 |
* Remove the "lfs" clean and smudge filters from the global Git config. |
| 19 |
* Uninstall the Git LFS pre-push hook if run from inside a Git |
| 20 |
repository. |
| 21 |
|
| 22 |
== OPTIONS |
| 23 |
|
| 24 |
`-l`:: |
| 25 |
`--local`:: |
| 26 |
Removes the "lfs" smudge and clean filters from the local repository's git |
| 27 |
config, instead of the global git config (~/.gitconfig). |
| 28 |
`-w`:: |
| 29 |
`--worktree`:: |
| 30 |
Removes the "lfs" smudge and clean filters from the current working tree's git |
| 31 |
config, instead of the global git config (~/.gitconfig) or local repository's |
| 32 |
git config ($GIT_DIR/config). If multiple working trees are in use, the Git |
| 33 |
config extension `worktreeConfig` must be enabled to use this option. If only |
| 34 |
one working tree is in use, `--worktree` has the same effect as `--local`. |
| 35 |
This option is only available if the installed Git version is at least 2.20.0 |
| 36 |
and therefore supports the "worktreeConfig" extension. |
| 37 |
`--system`:: |
| 38 |
Removes the "lfs" smudge and clean filters from the system git config, instead |
| 39 |
of the global git config (~/.gitconfig). |
| 40 |
`--file=<file>`:: |
| 41 |
Removes the `lfs` smudge and clean filters from the Git configuration file |
| 42 |
specified by the `<file>` argument. |
| 43 |
`--skip-repo`:: |
| 44 |
Skips cleanup of the local repo; use if you want to uninstall the global lfs |
| 45 |
filters but not make changes to the current repo. |
| 46 |
|
| 47 |
== SEE ALSO |
| 48 |
|
| 49 |
git-lfs-install(1), git-worktree(1). |
| 50 |
|
| 51 |
Part of the git-lfs(1) suite. |