1git-annex-pre-commit(1) General Commands Manual git-annex-pre-commit(1)
2
3
4
6 git-annex-pre-commit - run by git pre-commit hook
7
9 git annex pre-commit [path ...]
10
12 This is meant to be called from git's pre-commit hook. git annex init
13 automatically creates a pre-commit hook using this.
14
15 Fixes up symlinks that are staged as part of a commit, to ensure they
16 point to annexed content.
17
18 When in a view, updates metadata to reflect changes made to files in
19 the view.
20
21 When in a repository that has not been upgraded to annex.version 6,
22 also handles injecting changes to unlocked files into the annex.
23
25 git-annex(1)
26
28 Joey Hess <id@joeyh.name>
29
30 git-annex-pre-commit(1)