|git-annex-lock(1)||General Commands Manual||git-annex-lock(1)|
Locking a file changes how it is stored in the git repository (from a pointer file to a symlink), so this command will make a change that you can commit.
- file matching options
- The git-annex-matching-options(1) can be used to specify files to lock.
- Enable JSON output. This is intended to be parsed by programs that use git-annex. Each line of output is a JSON object.
- Messages that would normally be output to standard error are included in the json instead.