From 959b511b559d129f4a7651d2037121f2aea23bff Mon Sep 17 00:00:00 2001 From: CandyAngel Date: Wed, 13 Mar 2019 08:33:37 +0000 Subject: [PATCH] Added a comment --- ...ment_1_d1358e46d488532e1922a1bf7c471980._comment | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/forum/Messed_up_repo_by_syncing_to_wrong_remote/comment_1_d1358e46d488532e1922a1bf7c471980._comment diff --git a/doc/forum/Messed_up_repo_by_syncing_to_wrong_remote/comment_1_d1358e46d488532e1922a1bf7c471980._comment b/doc/forum/Messed_up_repo_by_syncing_to_wrong_remote/comment_1_d1358e46d488532e1922a1bf7c471980._comment new file mode 100644 index 0000000000..53ba6e96a1 --- /dev/null +++ b/doc/forum/Messed_up_repo_by_syncing_to_wrong_remote/comment_1_d1358e46d488532e1922a1bf7c471980._comment @@ -0,0 +1,13 @@ +[[!comment format=mdwn + username="CandyAngel" + avatar="http://cdn.libravatar.org/avatar/15c0aade8bec5bf004f939dd73cf9ed8" + subject="comment 1" + date="2019-03-13T08:33:37Z" + content=""" +1) Delete the incorrect remote and any local branches it has created +2) Revert branches to commits before the sync (including the git-annex branch) +3) Delete .git/annex/index (safe to do so, git-annex will rebuild it) +4) Make sure .git/annex/journal is empty + +It's been a while since I've needed to do this, but I think that covers everything needed. I'm in the IRC channel (GMT/BST waking hours) if you need any further help! +"""]]