diff options
author | 2013-07-28 02:40:28 +0000 | |
---|---|---|
committer | 2013-07-28 02:40:28 +0000 | |
commit | c0705a154156d2ddcd502b5ca610bf483eb1c554 (patch) | |
tree | 68710ba205b8aa5b5c8581ebbcbb512f45405a07 | |
parent | 468e2c789371f924ec4586148e4e9e5618c58303 (diff) |
Added a comment
-rw-r--r-- | doc/forum/Git_repos_in_git_annex__63__/comment_1_8aaa0d83e8fcd5997f6b0097f3b21622._comment | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/forum/Git_repos_in_git_annex__63__/comment_1_8aaa0d83e8fcd5997f6b0097f3b21622._comment b/doc/forum/Git_repos_in_git_annex__63__/comment_1_8aaa0d83e8fcd5997f6b0097f3b21622._comment new file mode 100644 index 000000000..fac5ad5b1 --- /dev/null +++ b/doc/forum/Git_repos_in_git_annex__63__/comment_1_8aaa0d83e8fcd5997f6b0097f3b21622._comment @@ -0,0 +1,14 @@ +[[!comment format=mdwn + username="EvanDeaubl" + ip="68.230.56.163" + subject="comment 1" + date="2013-07-28T02:40:24Z" + content=""" +I'll give this warning upfront: this works for me, but it requires manual intervention, and I wouldn't be surprised if this spectacularly broke with the assistant running in full auto mode. + +I'm currently storing git repos inside of my annex by using a separated git dir, so that git doesn't detect the nested repository and balk at adding it. Doing a git clone or git init with a --separate-git-dir=<git dir> argument puts what would normally be in .git in that directory, and creates a simple .git file in its place which references the separated git dir. + +When I'm not using the repo, I move the .git file out of the directory, and everything looks like regular files to git-annex. When I want to use it, I move it back in place, and any git operations inside the repo directory use the inner git repo itself. + +Another option I used for a while was to store bare repos in the annex, and doing checkouts from those repos. +"""]] |