git-annex/doc/git-annex-direct.mdwn
Joey Hess 924e5af6b9
change a few last v6 references to v7
Since v6 is not a usable repo version any longer, it's confusing to have
documentation that refers to it.

This commit was sponsored by Peter on Patreon.
2019-07-17 11:44:57 -04:00

40 lines
1 KiB
Markdown

# NAME
git-annex direct - switch repository to direct mode
# SYNOPSIS
git annex direct
# DESCRIPTION
Switches a repository to use direct mode, where rather than symlinks to
files, the files are directly present in the repository.
As part of the switch to direct mode, any changed files will be committed.
Note that git commands that operate on the work tree will refuse to
run in direct mode repositories. Use `git annex proxy` to safely run such
commands.
Note that the direct mode/indirect mode distinction is removed in v7
git-annex repositories. In such a repository, you can
use [[git-annex-unlock]](1) to make a file's content be directly present.
You can also use [[git-annex-adjust]](1) to enter a branch where all
annexed files are unlocked, which is similar to the old direct mode.
# SEE ALSO
[[git-annex]](1)
[[git-annex-indirect]](1)
[[git-annex-unlock]](1)
[[git-annex-adjust]](1)
# AUTHOR
Joey Hess <id@joeyh.name>
Warning: Automatically converted into a man page by mdwn2man. Edit with care.