diff options
author | xloem <xloem@web> | 2016-04-25 20:40:03 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2016-04-25 20:40:03 +0000 |
commit | 3656a0747c5829b2b86ff718d36a52a399814ecd (patch) | |
tree | 444241a39d128c7d576468e0431c4eef2b58b874 | |
parent | 7490869cbc3a14d41fe627284aabb65ff105d77e (diff) |
Added a comment: did this today
-rw-r--r-- | doc/forum/n00b_question._Can_I_use_git-annex_to_manage_a_tree_that_contains_git_repos__63__/comment_4_9c6386710387f7334ea44c1de7cc8729._comment | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/forum/n00b_question._Can_I_use_git-annex_to_manage_a_tree_that_contains_git_repos__63__/comment_4_9c6386710387f7334ea44c1de7cc8729._comment b/doc/forum/n00b_question._Can_I_use_git-annex_to_manage_a_tree_that_contains_git_repos__63__/comment_4_9c6386710387f7334ea44c1de7cc8729._comment new file mode 100644 index 000000000..a411d8de8 --- /dev/null +++ b/doc/forum/n00b_question._Can_I_use_git-annex_to_manage_a_tree_that_contains_git_repos__63__/comment_4_9c6386710387f7334ea44c1de7cc8729._comment @@ -0,0 +1,13 @@ +[[!comment format=mdwn + username="xloem" + subject="did this today" + date="2016-04-25T20:40:02Z" + content=""" +it's interesting to find this discussion, I just finished implementing this on my system. + +I've been storing bare repos in annex in order to back them up with the same system. I have really huge files in some of my git repos and I wanted to get those files into the annex system but still keep a record of their changes (the git history). + +Today I removed the core.bare = true setting on the repos and instead set core.worktree = projectdir, and ran git checkout in projectdir. I have the index file in .gitignore, so there won't be that weird unresolvable conflict. Now all my bloated git history is stored in the annex, and I can still work with it in the annexed checkout. + +I was thinking I'd do this again with the root of the repository when the annex grows too large, to back up the old history in a connected way. +"""]] |