git附件文档给出了使用get
的示例:
# git annex sync laptop
# git annex get .
get my_cool_big_file (from laptop...) ok
get iso/debian.iso (from laptop...) ok
https://git-annex.branchable.com/walkthrough/#index5h2
是否有相反的方法,即一旦与名为“ laptop”的远程回购同步,就将实际文件内容直接直接放入“ laptop”的附件存储中?例如
# git annex sync laptop
# git annex put .
put my_cool_big_file (to laptop...) ok
put iso/debian.iso (to laptop...) ok
答案 0 :(得分:0)
子命令是copy
或move
,您必须指定远程命令:
git annex copy --to laptop