---
name: "git-annex-dead"
section: "1"
platform: "linux"
package: "git-annex"
version: "10.20261026-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/git-annex-dead"
---

# git-annex-dead(1)

hide a lost repository or key

## NAME

git-annex-dead - hide a lost repository or key

## SYNOPSIS

git annex dead **\[repository ...\] \[--key somekey ...\]**

## DESCRIPTION

This command exists to deal with situations where data has been lost, and you know it has, and you want to stop being reminded of that fact.

When a repository is specified, indicates that the repository has been irretrievably lost, so it will not be listed in eg, **git annex whereis**. Repositories can be specified using their remote name, their description, or their UUID. (To undo, use **git-annex semitrust**.)

When a key is specified, indicates that the content of that key has been irretrievably lost. This makes the key be skipped when operating on all keys with eg **--all**. (To undo, add the key's content back to the repository,  by using eg, **git-annex reinject**.)

## OPTIONS

- **--key=somekey**

  -

  Use to specify a key that is dead.

-

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

-

  - Also the [git-annex-common-options(1)](/git-annex-common-options/1.md) can be used.

  ## SEE ALSO

[git-annex(1)](/git-annex/1.md)

[git-annex-trust(1)](/git-annex-trust/1.md)

[git-annex-semitrust(1)](/git-annex-semitrust/1.md)

[git-annex-untrust(1)](/git-annex-untrust/1.md)

[git-annex-renameremote(1)](/git-annex-renameremote/1.md)

[git-annex-expire(1)](/git-annex-expire/1.md)

[git-annex-fsck(1)](/git-annex-fsck/1.md)

[git-annex-reinject(1)](/git-annex-reinject/1.md)

## AUTHOR

Joey Hess \<id@joeyh.name\>
