From 464dadce34d428ffbad5dbf491a7fea12d68608b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 16 May 2014 14:53:45 -0400 Subject: [PATCH] update --- doc/tips/what_to_do_when_a_repository_is_corrupted.mdwn | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/tips/what_to_do_when_a_repository_is_corrupted.mdwn b/doc/tips/what_to_do_when_a_repository_is_corrupted.mdwn index 80cb046d90..78f4977a27 100644 --- a/doc/tips/what_to_do_when_a_repository_is_corrupted.mdwn +++ b/doc/tips/what_to_do_when_a_repository_is_corrupted.mdwn @@ -19,4 +19,9 @@ on the drive. * Check for any problems with the annexed data: `cd $good; git annex fsck` * Now you can remove the corrupted repository, the new one is ready to use. +Alternatively, recent versions of git-annex have a `git annex repair` +command that uses to repair a +repository in-place. The git-annex assistant will detect most corruptions +and offer to run the repair for you automatically. + --[[Joey]]