From b434494a6f32cfa74a581754d94ef85026cf9496 Mon Sep 17 00:00:00 2001 From: "erewhon_smith@6671dff14d578cb6d55a3ca285f2c54151b69f60" Date: Fri, 24 Jan 2020 23:46:44 +0000 Subject: [PATCH] --- .../Manually_moving_annex_objects_to_new_repo.mdwn | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doc/forum/Manually_moving_annex_objects_to_new_repo.mdwn diff --git a/doc/forum/Manually_moving_annex_objects_to_new_repo.mdwn b/doc/forum/Manually_moving_annex_objects_to_new_repo.mdwn new file mode 100644 index 0000000000..32954cd2b7 --- /dev/null +++ b/doc/forum/Manually_moving_annex_objects_to_new_repo.mdwn @@ -0,0 +1,12 @@ +I want to create a repo with the contents of an old repo, but with a fresh commit history, etc. I do not care about preserving the old repo. + +However, I just want to make sure that the following steps will not result in the new repo being broken in some way: + +1) Create a new git annex repo. +2) Copy all of the symlinks pointing from the old repo to the new one. +3) Move .git/annex/objects from the old repo to the new one. +4) Then "git annex add" everything in the new repo and commit. + +Please let me know also if there is a better way to achieve the same results. + +Thanks for your help.