This commit is contained in:
parent
b434494a6f
commit
90dff7f6e1
1 changed files with 4 additions and 4 deletions
|
@ -2,10 +2,10 @@ I want to create a repo with the contents of an old repo, but with a fresh commi
|
||||||
|
|
||||||
However, I just want to make sure that the following steps will not result in the new repo being broken in some way:
|
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.
|
1. Create a new git annex repo.
|
||||||
2) Copy all of the symlinks pointing from the old repo to the new one.
|
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.
|
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.
|
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.
|
Please let me know also if there is a better way to achieve the same results.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue