diff options
author | http://joey.kitenet.net/ <joey@web> | 2011-05-14 16:28:36 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2011-05-14 16:28:36 +0000 |
commit | fdc5e5f56c6fca3d4a1f72bd5338b5d2ec9ab10c (patch) | |
tree | d4e4ab1c019d4a89dd5dc21249dcc4e816d79e19 | |
parent | 81bca602dacfb038a5bb1f66146dbc85ba184223 (diff) |
Added a comment
-rw-r--r-- | doc/bugs/No_easy_way_to_re-inject_a_file_into_an_annex/comment_3_be62be5fe819acc0cb8b878802decd46._comment | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/bugs/No_easy_way_to_re-inject_a_file_into_an_annex/comment_3_be62be5fe819acc0cb8b878802decd46._comment b/doc/bugs/No_easy_way_to_re-inject_a_file_into_an_annex/comment_3_be62be5fe819acc0cb8b878802decd46._comment new file mode 100644 index 000000000..9c56452e5 --- /dev/null +++ b/doc/bugs/No_easy_way_to_re-inject_a_file_into_an_annex/comment_3_be62be5fe819acc0cb8b878802decd46._comment @@ -0,0 +1,14 @@ +[[!comment format=mdwn + username="http://joey.kitenet.net/" + nickname="joey" + subject="comment 3" + date="2011-05-14T16:28:36Z" + content=""" +To re-inject new content for a file, you really want to get a new key for the file. Otherwise, other repos that have the old file will never get the new content. So: + +<pre> +git rm file +mv ~/newcontent file +git annex add file +</pre> +"""]] |