diff options
author | Joey Hess <joey@kitenet.net> | 2011-12-02 16:59:55 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-12-02 16:59:55 -0400 |
commit | 251c01d51e22dc295359ba1f85144afc4c178e7a (patch) | |
tree | f8b19d157e09349194ffe40591250a72c16c8f30 /doc/tips | |
parent | 7b08584c5553c22b322a2d9c268fda855666f4ce (diff) |
dead: A command which says that a repository is gone for good and you don't want git-annex to mention it again.
Diffstat (limited to 'doc/tips')
-rw-r--r-- | doc/tips/what_to_do_when_you_lose_a_repository.mdwn | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/tips/what_to_do_when_you_lose_a_repository.mdwn b/doc/tips/what_to_do_when_you_lose_a_repository.mdwn index 16a55b37b..3be13b8ab 100644 --- a/doc/tips/what_to_do_when_you_lose_a_repository.mdwn +++ b/doc/tips/what_to_do_when_you_lose_a_repository.mdwn @@ -4,16 +4,16 @@ drive died or some other misfortune has befallen your data. Unless you configured backups, git-annex can't get your data back. But it can help you deal with the loss. -First, go somewhere that knows about the lost repository, and mark it as -untrusted. +Go somewhere that knows about the lost repository, and mark it as +dead: - git annex untrust usbdrive + git annex dead usbdrive -To remind yourself later what happened, you can change its description, too: +This retains the [[location_tracking]] information for the repository, +but avoids trying to access it, or list it as a location where files +are present. - git annex describe usbdrive "USB drive lost in Timbuktu. Probably gone forever." +If you later found the drive, you could let git-annex know it's found +like so: -This retains the [[location_tracking]] information for the repository. -Maybe you'll find the drive later. Maybe that's impossible. Either way, -this lets git-annex tell you why a file is no longer accessible, and -it avoids it relying on that drive to hold any content. + git annex semitrusted usbdrive |