diff options
author | http://joeyh.name/ <http://joeyh.name/@web> | 2014-07-03 19:10:53 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2014-07-03 19:10:53 +0000 |
commit | 42e1c421ab94a4b488be8f96e2c7aea64e93c560 (patch) | |
tree | 0ab588bc7fa12abccd7ffa9afa14f16d4048d696 | |
parent | 6bc5fa79aa0e30326d029b69ab6beadfa66398a4 (diff) |
Added a comment
-rw-r--r-- | doc/forum/use_case:_unique_indentifier_of_objets___40__doi_like__41__/comment_1_955f3aac12c1ddb41267c5a23ccb79e3._comment | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/forum/use_case:_unique_indentifier_of_objets___40__doi_like__41__/comment_1_955f3aac12c1ddb41267c5a23ccb79e3._comment b/doc/forum/use_case:_unique_indentifier_of_objets___40__doi_like__41__/comment_1_955f3aac12c1ddb41267c5a23ccb79e3._comment new file mode 100644 index 000000000..069d41c10 --- /dev/null +++ b/doc/forum/use_case:_unique_indentifier_of_objets___40__doi_like__41__/comment_1_955f3aac12c1ddb41267c5a23ccb79e3._comment @@ -0,0 +1,12 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.55" + subject="comment 1" + date="2014-07-03T19:10:53Z" + content=""" +To make git-annex output the key of a file, run: `git annex lookupkey $file` + +I don't know if the git-annex key is appropriate for your use-case. If the files never get changed, then it's a nice stable identifier. If ongoing changes are made to a file, and you want to link to the most recent version, the key would not be useful. + +You might also look at git-annex's [[metadata]]; you could make up some metadata field and value and attach it to a file, and it would persist as the file was modified. +"""]] |