DOKK / manpages / debian 12 / git-lfs / git-lfs-update.1.en
GIT-LFS-UPDATE(1)   GIT-LFS-UPDATE(1)

git-lfs-update - Update Git hooks

git lfs update [--manual | --force]

Updates the Git hooks used by Git LFS. Silently upgrades known hook contents. If you have your own custom hooks you may need to use one of the extended options below.

--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.

Part of the git-lfs(1) suite.

2023-04-09