DOKK / manpages / debian 11 / git-annex / git-annex-dropkey.1.en
git-annex-dropkey(1) General Commands Manual git-annex-dropkey(1)

git-annex-dropkey - drops annexed content for specified keys

git annex dropkey [key ...]

This plumbing-level command drops the annexed data for the specified keys from this repository.

This can be used to drop content for arbitrary keys, which do not need to have a file in the git repository pointing at them.

Warning: This command does not check that enough other copies of the content exist; using it can easily result in data loss.

Enables batch mode, in which lines containing keys to drop are read from stdin.
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-setkey(1)

Joey Hess <id@joeyh.name>