git-annex-pre-commit(1)

git-annex-pre-commit1

Run by git pre-commit hook

Usage

git annex pre-commit [path ...]

Overview

This is meant to be called from git's pre-commit hook. git annex init automatically creates a pre-commit hook using this.

Fixes up symlinks that are staged as part of a commit, to ensure they point to annexed content.

When in a view, updates metadata to reflect changes made to files in the view.

Options

The git-annex-common-options(1) can be used.

Releases

6 releases since Debian 9 (Stretch); the text changed 3 times.

  1. 9
  2. 10
  3. 11
  4. 12–Arch

Author

Joey Hess <[email protected]>

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