git-annex-lock man page

git-annex-lock ā€” undo unlock command

Synopsis

git annex lock [path ...]

Description

Use this to undo an unlock command if you don't want to modify the files any longer, or have made modifications you want to discard.

Options

file matching options

The git-annex-matching-options(1) can be used to specify files to lock.

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

See Also

git-annex(1)

git-annex-add(1)

git-annex-unlock(1)

Author

Joey Hess <id@joeyh.name>

Referenced By

git-annex(1), git-annex-add(1), git-annex-unlock(1).