简体   繁体   English

在 GitHub 上克隆一个存储库,而不暴露 fork?

[英]Clone a repository on GitHub, without exposing the fork?

I would like to clone an existing private GitHub repository, including its history, to a separate private repo.我想将现有的私有 GitHub 存储库(包括其历史记录)克隆到单独的私有存储库。 If I do this, is there any mechanism by which the owners of the existing repository would be notified the repository has been cloned and/or forked?如果我这样做,是否有任何机制可以通知现有存储库的所有者该存储库已被克隆和/或分叉?

Yes, it can be done, but only if the repository is public .是的,可以这样做,但前提是存储库是public Then the repository owner can see the cloning statistics, but not WHICH user the repository have cloned.然后存储库所有者可以看到克隆统计信息,但看不到存储库克隆了哪个用户。

The cloning statistic can be viewed by clicking on the specific repository, choose Insights in the navigation bar and click there Traffic .可以通过单击特定存储库来查看克隆统计信息,在导航栏中选择Insights并单击Traffic

For more information, look at this GitHub blog Clone Graphs .有关更多信息,请查看此 GitHub 博客Clone Graphs

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM