github - You don’t have permission to fork to these organizations:
问题描述
I have a private repo that I made in my account. I want to fork this now to start another project. When I try to fork it says:
You don’t have permission to fork to these organizations:
And it lists an open source projects organization I contributed some work to.
This project is nothing to do with that organization, why can't I fork it? I created this repo in first place and have not pushed code to the other org in years.
解决方案
TLDR; It is not possible to fork your own repo into your own account.
You can fork repo from one account to another account, but not into the same account. When you click on "fork" of a repo from source account, GitHub asks you to choose the "second" target account to save the fork. May be you are selecting the Open Source Project Organization, so you see the failure.
Refer https://github.community/t5/Support-Protips/Alternatives-to-forking-into-the-same-account/ba-p/7428. This page gives few alternate options.
My Suggestion:
Best option is to use a different branch for each app and your master branch holds the "starter app" or vice-versa, keep base app in one branch and main app in master branch. When ever you create a new app, branch out from base app branch and start development.
推荐阅读
- reactjs - 有没有办法将 reactjs 与 postgres 集成以创建动态依赖下拉列表?
- java - XSSFSheetConditionalFormatting 使用 Color Scale Rule 没有格式化使用 java poi 生成的 excel 中的数据
- c# - await 在这里做什么?
- java - 在java中替换String中的单词
- java - MissingServletRequestPartException:使用 Ajax 时所需的请求部分文件不存在
- regex - 从 Jinja2 中的 URL 中删除尾随 /(正则表达式?)
- ios - 无法生成与拉动刷新指示器相同的活动指示器
- javascript - 使用 Google API 进行异步身份验证
- google-cloud-firestore - 火焰计划。未配置结算帐号。外网无法访问
- java - 如何使用 java 从现有表生成创建查询?