git-annex/doc/git-annex-fix.mdwn
Joey Hess 121f5d5b0c
annex.thin
Decided it's too scary to make v6 unlocked files have 1 copy by default,
but that should be available to those who need it. This is consistent with
git-annex not dropping unused content without --force, etc.

* Added annex.thin setting, which makes unlocked files in v6 repositories
  be hard linked to their content, instead of a copy. This saves disk
  space but means any modification of an unlocked file will lose the local
  (and possibly only) copy of the old version.
* Enable annex.thin by default on upgrade from direct mode to v6, since
  direct mode made the same tradeoff.
* fix: Adjusts unlocked files as configured by annex.thin.
2015-12-27 15:59:59 -04:00

37 lines
706 B
Markdown

# 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.
# 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.