0

我用了

git annex initremote myrsync type=rsync rsyncurl=ssh://... encryption=none

初始化遥控器。但是,在尝试 a 时git annex copy,我收到如下错误:

  rsync failed -- run git annex again to resume file transfer
failed
copy ... (checking myrsync...) (to myrsync...) 
ssh: Could not resolve hostname ssh: Name or service not known
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.0]

我想撤消此操作,initremote以便重试。我发现我可以注释掉[remote "myrsync"].git/config 中的条目,但我不确定这是否是安全/正确的做事方式。

4

0 回答 0