2015-04-24 17:33:22 +00:00
|
|
|
git-lfs-update(1) -- Update Git hooks
|
|
|
|
=====================================
|
|
|
|
|
|
|
|
## SYNOPSIS
|
|
|
|
|
2016-04-26 11:04:55 +00:00
|
|
|
`git lfs update` [--manual | --force]
|
2015-04-24 17:33:22 +00:00
|
|
|
|
|
|
|
## DESCRIPTION
|
|
|
|
|
|
|
|
Updates the Git hooks used by Git LFS. Silently upgrades known hook contents.
|
2016-04-26 11:04:55 +00:00
|
|
|
If you have your own custom hooks you may need to use one of the extended
|
|
|
|
options below.
|
|
|
|
|
|
|
|
## OPTIONS
|
|
|
|
|
|
|
|
* `--manual` `-m`
|
|
|
|
Print instructions for manually updating your hooks to include git-lfs
|
|
|
|
functionality. Use this option if `git lfs update` fails because of existing
|
|
|
|
hooks and you want to retain their functionality.
|
|
|
|
|
|
|
|
* `--force` `-f`
|
|
|
|
Forcibly overwrite any existing hooks with git-lfs hooks. Use this option
|
|
|
|
if `git lfs update` fails because of existing hooks but you don't care
|
|
|
|
about their current contents.
|
2015-04-24 17:33:22 +00:00
|
|
|
|
|
|
|
## SEE ALSO
|
|
|
|
|
|
|
|
Part of the git-lfs(1) suite.
|