diff options
author | Joey Hess <joey@kitenet.net> | 2011-05-14 12:29:10 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-05-14 12:29:10 -0400 |
commit | bbab57ebe70319b128e273bc8185c9381cdf7bf7 (patch) | |
tree | 337cd7f8a7d6a0c7855847189a1ce1b3485071f6 /doc/bugs | |
parent | 020e9b013dea9e7429cee49cb19a5b7bc958a19f (diff) | |
parent | fdc5e5f56c6fca3d4a1f72bd5338b5d2ec9ab10c (diff) |
Merge remote-tracking branch 'branchable/master'
Diffstat (limited to 'doc/bugs')
-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> +"""]] |