git-lfs-update(1)

git-lfs-update1

Update git hooks

Usage

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

Overview

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.

Options

-m, --manual

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.

-f, --force

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.

Releases

5 releases since Debian 10 (Buster); the text changed 4 times.

  1. 10
  2. 11
  3. 12
  4. 13
  5. Arch

--force since Debian 12 (Bookworm); --manual since Debian 12 (Bookworm); -f since Debian 12 (Bookworm); -m since Debian 12 (Bookworm).

From git-lfs 3.8.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.