How to disable fork on private repo on github

后端 未结 3 2125
执笔经年
执笔经年 2021-01-07 20:07

It was easy on bitbucket. if I dont want my repo to be forked. I can disable it. Only people I have invite can work on repo as long as they have permission on repo.

3条回答
  •  没有蜡笔的小新
    2021-01-07 20:42

    Github has this functionality now. See Github's howto -- note that (as requested by OP) this is only available for private repos

    To access this setting you must be signed in as an organization owner or as a repo admin. Navigate to your repo > Settings > Options and uncheck "Allow forking"

提交回复
热议问题