git-lfs/docs/man/git-lfs-uninstall.1.ronn
brian m. carlson 2e911a347e
commands/uninstall: add a --skip-repo option
git lfs install has a --skip-repo option, which prevents any attempt to
modify the repo if run from within one.  Add such an option for git lfs
uninstall as well.  Document it and add tests for its functionality.
2018-10-17 18:53:04 +00:00

32 lines
888 B
Markdown

git-lfs-uninstall(1) -- Remove Git LFS configuration
=================================================
## SYNOPSIS
`git lfs uninstall`
## DESCRIPTION
Perform the following actions to remove the Git LFS configuration:
* Remove the "lfs" clean and smudge filters from the global Git config.
* Uninstall the Git LFS pre-push hook if run from inside a Git repository.
## OPTIONS
* --local:
Removes the "lfs" smudge and clean filters from the local repository's git
config, instead of the global git config (~/.gitconfig).
* --system:
Removes the "lfs" smudge and clean filters from the system git config,
instead of the global git config (~/.gitconfig).
* --skip-repo:
Skips cleanup of the local repo; use if you want to uninstall the global lfs
filters but not make changes to the current repo.
## SEE ALSO
git-lfs-install(1).
Part of the git-lfs(1) suite.