3 avatar="http://cdn.libravatar.org/avatar/f11e9c84cb18d26a1748c33b48c924b4"
5 date="2020-10-06T01:26:59Z"
7 I think it worked wonderfully
10 <summary>here is my script I have tried</summary>
18 cd \"$(mktemp -d ${TMPDIR:-/tmp}/dl-XXXXXXX)\"
21 echo content >| d-in/file
24 git annex import master --from d-in
25 # but we need to merge it
35 git annex initremote d-in type=directory directory=../d-in exporttree=yes importtree=yes encryption=none
44 echo \"more\" >> ../d-in/file
45 echo \"new\" > ../d-in/newfile
56 and it seemed to do the right job! I have not tried to add some `.gitattributes` into that branch it imports into to tell some files to go to git, but I hope it would just work, and if not -- I will come back! feel welcome to close this issue.