diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-12-02 14:19:31 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-12-02 14:19:31 -0400 |
commit | e2b8d0757b1ce447ffd3fba5691326a3365f02f5 (patch) | |
tree | 0dfe18221df03695b50d7b83e9b8a40c56a737c9 /doc/forum | |
parent | ffc6be8f790762b910ff9d99140747fa546917ee (diff) |
comment
Diffstat (limited to 'doc/forum')
-rw-r--r-- | doc/forum/Does_git_annex_support_my_weird_workflow__63_____40__A_single__44___effectively___95__read_only__95___source__41__/comment_1_25572571debe2c91447b0ed952f45cb2._comment | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/forum/Does_git_annex_support_my_weird_workflow__63_____40__A_single__44___effectively___95__read_only__95___source__41__/comment_1_25572571debe2c91447b0ed952f45cb2._comment b/doc/forum/Does_git_annex_support_my_weird_workflow__63_____40__A_single__44___effectively___95__read_only__95___source__41__/comment_1_25572571debe2c91447b0ed952f45cb2._comment new file mode 100644 index 000000000..eb568646e --- /dev/null +++ b/doc/forum/Does_git_annex_support_my_weird_workflow__63_____40__A_single__44___effectively___95__read_only__95___source__41__/comment_1_25572571debe2c91447b0ed952f45cb2._comment @@ -0,0 +1,19 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2015-12-02T18:14:50Z" + content=""" +The two problems are: Read-only directory, and wanting a clone that doesn't +have the same directory structure. + +For the read-only directory, you may be able to use a direct mode +repository. You might need to set `GIT_DIR` in the environment to make +the .git directory be placed somewhere outside the read-only directory. + +As to wanting different directory structure in your clone, it's an added +complication I'd recommend avoiding. Not that it's impossible, you can move +files around in the git repository and that could be automated via +git-filter-branch or the like. But git-annex offers a simpler solution, +which is to use the same directory structure and only get the contents of +files in the subdirectories you want. +"""]] |