如果原始回购是私有的,我可以派生一个分叉的回购吗? [英] Can I fork a forked repo to get access to it, where the original repo is private?

查看:72
本文介绍了如果原始回购是私有的,我可以派生一个分叉的回购吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我没有访问权限的其他组织下有一个回购协议.我的任何一个朋友都能分叉给我访问权限吗?我可以分叉他们已经分叉的回购吗?

There is a repo under different organization to which I don't have access. Can any of my friends fork and give me the access? Can I fork the repo, which they forked already?

是否还有其他方式可以访问存储库?只读访问就可以了.

Is there anther way that I can access the repo? Read-only access would be fine.

对于所有人,谢谢您的评论.我只是想了解是否还有其他合法方法可以快速访问该存储库.想了解技术可行性.

To all, Thanks for the comments. I just want to understand If there is any other legal way to quickly access the repo. Wanted to understand the technical feasibility.

考虑将我添加为协作者会花费一些时间,因此我寻找了一些快速选择.最好请房主.

Thinking that adding me as a Collaborator takes time, I looked for some quick options. Its better I will ask the Owner.

是的,我不会从具有访问权限的某人的计算机中获取克隆的存储库.感谢您的回答.

Yes, I am not going to take the cloned repo from someones machine, who have access. Thanks for the answers.

推荐答案

我的任何一个朋友都可以分叉并给我访问权限吗?我可以分叉他们已经分叉的回购吗?

Can any of my friends fork and give me the access. Can I fork the repo, which they forked already?

不使用GitHub的分叉功能:

私有派生继承了上游或父存储库的权限结构.例如,如果上游存储库是私有的,并且为团队提供了读/写访问权限,则同一团队将对私有上游存储库的任何派生都具有读/写访问权限.这有助于私有存储库的所有者保持对其代码的控制.

Private forks inherit the permissions structure of the upstream or parent repository. For example, if the upstream repository is private and gives read/write access to a team, then the same team will have read/write access to any forks of the private upstream repository. This helps owners of private repositories maintain control over their code.

强烈建议您不要尝试绕过希望访问的私有存储库上的访问控制.至少这是不道德的,您可能正在违反法律和合同.要求访问并兑现您收到的答案要好得多.

I strongly advise you not to try to circumvent the access controls on the private repository you wish you access. At the very least it's unethical and you may be breaking laws and contracts. It would be much better to request access and honour the answer you receive.

从纯粹的技术角度来看,没有什么可以阻止具有本地克隆的人共享它的(尽管这很可能违反法律,合同或同时违反两者).这样一来,您不仅使自己面临风险,也使您的朋友也面临风险.

From a purely technical perspective there's nothing stopping a person with a local clone from sharing it (though again this is very likely to break laws, contracts, or both). By doing so you're not just putting yourself at risk, you're putting your friend at risk too.

仅仅因为可以完成某件事并不意味着它应该完成.

Just because something can be done doesn't mean it should be done.

这篇关于如果原始回购是私有的,我可以派生一个分叉的回购吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆