简体   繁体   English

私有仓库的私有分支

[英]Private fork of a private repository

I am fairly new to Git, and could not find the answer to my following question, so asking here instead.我对 Git 相当陌生,无法找到我以下问题的答案,所以在这里提问。 Please excuse me if it has already been answered.如果已经回答了,请见谅。

I have a private Git repository on GitLab with I (owner) and 2 other members (maintainers).我在 GitLab 上有一个私有 Git 存储库,其中有我(所有者)和其他 2 个成员(维护者)。 Now, they took a fork of that repository and made their forks private as well so I can't access their forks.现在,他们获取了该存储库的一个分支,并将他们的分支设为私有,因此我无法访问他们的分支。 Then, I have removed them from the project so only I am in the repository I created.然后,我已将它们从项目中删除,因此只有我在我创建的存储库中。 So my question is that now that they have a fork, can they still pull updates (or even view commits) from my original repository or not?所以我的问题是,现在他们有了 fork,他们是否仍然可以从我的原始存储库中提取更新(甚至查看提交)?

can they still pull updates (or even view commits) from my original repository他们是否仍然可以从我的原始存储库中提取更新(甚至查看提交)

No they cannot.不,他们不能。

or even view commits甚至查看提交

Yes they can if the repo is not private .是的,如果回购不是private他们可以。 If it is then they cannot do that either.如果是,那么他们也不能那样做。

Reference is my own knowledge and GitLab forum and docs: https://gitlab.com/gitlab-org/gitlab-foss/issues/15083参考是我自己的知识和 GitLab 论坛和文档: https ://gitlab.com/gitlab-org/gitlab-foss/issues/15083

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

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