git annex:“ put”功能与“ get”相对

时间:2018-12-05 09:17:59

标签: git git-annex

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

1 个答案:

答案 0 :(得分:0)

子命令是copymove,您必须指定远程命令:

git annex copy --to laptop