git-annex/doc/git-annex-fix.mdwn

50 lines
1,023 B
Text
Raw Normal View History

# NAME
git-annex fix - fix up links to annexed content
# SYNOPSIS
git annex fix `[path ...]`
# DESCRIPTION
Fixes up symlinks that have become broken to again point to annexed
content.
This is useful to run manually when you have been moving the symlinks
around, but is done automatically when committing a change with git too.
Also, adjusts unlocked files to be copies or hard links as
configured by annex.thin.
# OPTIONS
* file matching options
The [[git-annex-matching-options]](1)
can be used to specify files to fix.
* `--json`
Enable JSON output. This is intended to be parsed by programs that use
git-annex. Each line of output is a JSON object.
* `--json-error-messages`
Messages that would normally be output to standard error are included in
the JSON instead.
* Also the [[git-annex-common-options]](1) can be used.
# SEE ALSO
[[git-annex]](1)
[[git-annex-fsck]](1)
# AUTHOR
Joey Hess <id@joeyh.name>
Warning: Automatically converted into a man page by mdwn2man. Edit with care.