Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有 webhook 的 git repo(在 Github 上),以便让镜像 repo(也在 GitHub 上)始终保持同步。
如果我删除“源”存储库,镜像存储库会发生什么?是保存还是删除?
如果我删除“源”存储库,镜像存储库会发生什么?
没有。每个存储库都独立于任何其他存储库。
当然,任何git fetch origin在镜像上运行的尝试都会失败,但这意味着镜像中什么也没有发生。
git fetch origin