diff options
Diffstat (limited to 'doc/tips')
-rw-r--r-- | doc/tips/unlocked_files.mdwn | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/tips/unlocked_files.mdwn b/doc/tips/unlocked_files.mdwn index 31f9e9756..fd103940e 100644 --- a/doc/tips/unlocked_files.mdwn +++ b/doc/tips/unlocked_files.mdwn @@ -88,6 +88,13 @@ git-annex converts between the content of the big file and a pointer file, which is what gets committed to git. All the regular git-annex commands (get, drop, etc) can be used on unlocked files too. +[[!template id=note text=""" +By default, git-annex commands will add files in locked mode, +unless used on a filesystem that does not support symlinks, when unlocked +mode is used. To make them always use unlocked mode, run: +`git config annex.addunlocked true` +"""]] + A v6 repository can contain both locked and unlocked files. You can switch a file back and forth using the `git annex lock` and `git annex unlock` commands. This changes what's stored in git between a git-annex symlink |