如何撤消`git annex initremote`

时间:2015-07-30 09:40:42

标签: git git-annex

我用过

- (UIEdgeInsets)widgetMarginInsetsForProposedMarginInsets:(UIEdgeInsets)defaultMarginInsets
{
    defaultMarginInsets.bottom = 0;

    if ([UIDevice.currentDevice.modelIdentifier containsString:@"iPhone7,1"] && self.traitCollection.horizontalSizeClass == UIUserInterfaceSizeClassCompact) {
        defaultMarginInsets.left += 5;
    } else if ([UIDevice.currentDevice.modelIdentifier containsString:@"iPhone7,1"] && self.traitCollection.horizontalSizeClass == UIUserInterfaceSizeClassRegular) {
        defaultMarginInsets.left += 34;
    } else {
        defaultMarginInsets.left += 1;
    }

    return defaultMarginInsets;
}

初始化遥控器。但是,在尝试git annex initremote myrsync type=rsync rsyncurl=ssh://... encryption=none 时,我会收到如下错误:

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] ,以便我可以再试一次。我发现我可以在.git / config中注释initremote条目,但我不确定这是否是安全/正确的做事方式。

0 个答案:

没有答案