【发布时间】:2020-01-03 11:45:27
【问题描述】:
今天我对我的 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
我该如何解决上述问题?
谢谢。
【问题讨论】:
-
git push --force
-
@JianAstrero 我做了 git push --force 并收到了这个:致命的:不是 git 存储库(或任何到挂载点 / 的父级)停止在文件系统边界(未设置 GIT_DISCOVERY_ACROSS_FILESYSTEM)。
-
你设置上游了吗?我想你还没有
标签: android git terminal android-source repo