summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar tyger <tyger@web>2011-02-23 09:49:34 +0000
committerGravatar admin <admin@branchable.com>2011-02-23 09:49:34 +0000
commit5b96961957678765480a4e540f3f82e28d921d5d (patch)
tree69695dc44016da98303742acebc4df1ed396971f
parent4c761b0b08f904e3bce78e979bb855f4c78507aa (diff)
-rw-r--r--doc/forum/migrate_existing_git_repository_to_git-annex.mdwn7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/forum/migrate_existing_git_repository_to_git-annex.mdwn b/doc/forum/migrate_existing_git_repository_to_git-annex.mdwn
new file mode 100644
index 000000000..fe26f6952
--- /dev/null
+++ b/doc/forum/migrate_existing_git_repository_to_git-annex.mdwn
@@ -0,0 +1,7 @@
+I have a large git repository with binary files scattered over different branches. I want to switch to git-annex mainly for performance reasons, but I don't want to loose my history.
+
+I tried to rewrite the (cloned) repository with git-filter-branch but failed miserably for several reasons:
+ * --tree-filter performs its operations in a temporary directory (.git-rewrite/t/) so the symlinks point to the wrong destination (../../.git/annex/).
+ * annex log files are stored in .git-annex/ instead of .git-rewrite/t/.git-annex/ so the filter operation misses them
+
+Any suggestions how to proceed?