DOKK / manpages / debian 10 / git-annex / git-annex-lock.1.en
git-annex-lock(1) General Commands Manual git-annex-lock(1)

git-annex-lock - undo unlock command

git annex lock [path ...]

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.

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.

git-annex(1)

git-annex-add(1)

git-annex-unlock(1)

Joey Hess <id@joeyh.name>