diff options
author | Joey Hess <id@joeyh.name> | 2014-12-01 19:08:15 -0400 |
---|---|---|
committer | Joey Hess <id@joeyh.name> | 2014-12-01 19:08:15 -0400 |
commit | dee083948f7d9bbea8de6ba6fb483bb9e1bcae95 (patch) | |
tree | d8b1dacd4d2e26733334e8ce1b485686d76d4bd1 /doc/tips | |
parent | 76299a564ed45692ee92ab82e840075175b74bf8 (diff) |
update tip
Diffstat (limited to 'doc/tips')
-rw-r--r-- | doc/tips/publishing_your_files_to_the_public/comment_1_48f545ce26dbec944f96796ed3b9204d._comment | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/tips/publishing_your_files_to_the_public/comment_1_48f545ce26dbec944f96796ed3b9204d._comment b/doc/tips/publishing_your_files_to_the_public/comment_1_48f545ce26dbec944f96796ed3b9204d._comment new file mode 100644 index 000000000..6ee85367e --- /dev/null +++ b/doc/tips/publishing_your_files_to_the_public/comment_1_48f545ce26dbec944f96796ed3b9204d._comment @@ -0,0 +1,21 @@ +[[!comment format=mdwn + username="joey" + subject="""nice tip""" + date="2014-12-01T22:59:58Z" + content=""" +Thanks Giovanni for that nice tip! + +You can additionally publish the whole git repository +by eg pushing it to github. (Not if it contains private files +or if you have embedded encryption keys or credentials though.) + +You can tell git-annex the public url for the files too, and then others +can just clone the git repository and use git-annex to download the files +from S3. + +You could set that up by running something like this: + + for filename in $(git annex find --in public-s3); do + git annex addurl --file "$filename" https://public-annex.s3.amazonaws.com/"$(git annex lookupkey $filename)" + done +"""]] |