If I fork someone else's private Github repo i

2019-01-10 01:20发布

Someone gave me access to one of their private repo on Github. What I want to do is to fork that project into my own account, so I could make use of Github's pull request feature.

I only have a basic account on Github, so I cannot make private repos on my own, but if I fork someone else's private repo into my account, is it going to appear in my account as public?

3条回答
兄弟一词,经得起流年.
2楼-- · 2019-01-10 01:52

Here's GitHub's answer:

https://help.github.com/articles/what-happens-to-forks-when-a-repository-is-deleted-or-changes-visibility/#deleting-a-private-repository

Deleting a private repository

When you delete a private repository, all of its private forks are also deleted.

查看更多
放荡不羁爱自由
3楼-- · 2019-01-10 01:58

When you revoke access for a member on the main branch (master repo), it will yank the forked repo as well. So, if you added members to a team, and they forked from the master repo, always ensure that you either have merged their changes or you have a copy of their changes before you remove them from the team, as the members forked repo gets deleted when he is removed from the team and you wont have a way to fetch his changes (if only you care about those).

查看更多
Summer. ? 凉城
4楼-- · 2019-01-10 02:01

No. You can fork it and it still remains private.

Private collaborators may fork any private repository you’ve added them to without their own paid plan. Their forks do not count against your private repository quota.

https://github.com/plans

查看更多
登录 后发表回答