This commit is contained in:
parent
2e3159f566
commit
b434494a6f
1 changed files with 12 additions and 0 deletions
12
doc/forum/Manually_moving_annex_objects_to_new_repo.mdwn
Normal file
12
doc/forum/Manually_moving_annex_objects_to_new_repo.mdwn
Normal file
|
@ -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.
|
Loading…
Add table
Add a link
Reference in a new issue