forum/Best way to re-add a file in a direct and crippled annex repositorygit-annexhttp://git-annex.branchable.com/forum/Best_way_to_re-add_a_file_in_a_direct_and_crippled_annex_repository/git-annexikiwiki2013-11-27T22:47:37Zcomment 1http://git-annex.branchable.com/forum/Best_way_to_re-add_a_file_in_a_direct_and_crippled_annex_repository/comment_1_552e74f9573a34ec178f396b83252c3e/joeyh.name2013-11-27T22:47:37Z2013-11-26T19:54:21Z
<p>There's a bug report asking that reinject work in direct mode. I just have not gotten around to it.</p>
<p>Another way to do it would be to make a temp directory in your annex repository, move or copy the file to there, and <code>git annex add</code>. As long as you're not using the WORM backend, the checksum will be used, and so it'll see it's added the content of the file, and make the a.bin file have that content too.</p>
<p>Off to see if I can easily add direct mode reinject now..</p>
comment 2http://git-annex.branchable.com/forum/Best_way_to_re-add_a_file_in_a_direct_and_crippled_annex_repository/comment_2_33c57922714f204fc63c260b838f3712/joeyh.name2013-11-27T22:47:37Z2013-11-26T20:18:56Z
Turned out to be trivial, so it's supported now.