gpt4 book ai didi

android - repo sync : ! [rejected] android-q-preview-4 -> android-q-preview-4(会破坏现有标签)

转载 作者:行者123 更新时间:2023-11-29 00:52:56 27 4
gpt4 key购买 nike


今天我对我的 AOSP 存储库执行了一个repo sync,然后我收到了一些错误。这些是我从终端收到的:

From https://android.googlesource.com/platform/external/dtc
! [rejected] android-q-preview-1 -> android-q-preview-1 (would clobber existing tag)
! [rejected] android-q-preview-4 -> android-q-preview-4 (would clobber existing tag)
! [rejected] android-q-preview-5 -> android-q-preview-5 (would clobber existing tag)
! [rejected] android-q-preview-6 -> android-q-preview-6 (would clobber existing tag)
error: Cannot fetch platform/external/dtc
warn: --force-broken, continuing to sync

我该如何解决上述问题?

谢谢。

最佳答案

似乎“某人”强制标签在公共(public)项目中移动...... tsk,tsk。无论如何,我也遇到了这个问题,我花了比我愿意承认的时间更长的时间才看到明显的解决方案:只需从我的本地存储库中删除有问题的标签。看起来像这样:

$ repo forall -c "git tag -d android-q-preview-1 android-q-preview-4 android-q-preview-5 android-q-preview-6"

$ repo sync

YMMV

关于android - repo sync : ! [rejected] android-q-preview-4 -> android-q-preview-4(会破坏现有标签),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57723043/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com