GIT-LFS-UPDATE(1)

💖 NAME

git-lfs-update — Update Git hooks. This is the GIT-LFS-UPDATE(1) manual page, bestie. 🎀

✨ SYNOPSIS

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

🦋 DESCRIPTION

Okay so git-lfs-update updates the Git hooks used by Git LFS. It silently upgrades known hook contents. If you have your own custom hooks, you may need to use one of the extended options below. No cap — custom hooks are main character energy, so don’t just steamroll them. 💅

🎀 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. Very “please do not break my setup” vibes. 🫶
  • -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. This one is literally the “clear the runway” flag. 💀
Heads up: --force forcibly overwrites any existing hooks with git-lfs hooks — only reach for it if you don’t care about their current contents.

🌈 SEE ALSO

Part of the git-lfs(1) suite. Iykyk. 💜


Sign-off: source/version footer says GIT-LFS-UPDATE(1) and no separate date is listed on this page. Bye bestie, go update those hooks! 🫶✨🍓

📦 where this page comes from