| 1 |
= git-lfs-update(1) |
| 2 |
|
| 3 |
== NAME |
| 4 |
|
| 5 |
git-lfs-update - Update Git hooks |
| 6 |
|
| 7 |
== SYNOPSIS |
| 8 |
|
| 9 |
[source,role=synopsis,subs="verbatim,quotes"] |
| 10 |
---- |
| 11 |
*git lfs update* [*--manual* | *--force*] |
| 12 |
---- |
| 13 |
|
| 14 |
== DESCRIPTION |
| 15 |
|
| 16 |
Updates the Git hooks used by Git LFS. Silently upgrades known hook |
| 17 |
contents. If you have your own custom hooks you may need to use one of |
| 18 |
the extended options below. |
| 19 |
|
| 20 |
== OPTIONS |
| 21 |
|
| 22 |
`-m`:: |
| 23 |
`--manual`:: |
| 24 |
Print instructions for manually updating your hooks to include git-lfs |
| 25 |
functionality. Use this option if `git lfs update` fails because of existing |
| 26 |
hooks and you want to retain their functionality. |
| 27 |
`-f`:: |
| 28 |
`--force`:: |
| 29 |
Forcibly overwrite any existing hooks with git-lfs hooks. Use this option if |
| 30 |
`git lfs update` fails because of existing hooks but you don't care about |
| 31 |
their current contents. |
| 32 |
|
| 33 |
== SEE ALSO |
| 34 |
|
| 35 |
Part of the git-lfs(1) suite. |