Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fork a repository to the same organization as its parent #330

Closed
github-product-roadmap opened this issue Nov 9, 2021 · 1 comment
Closed
Labels
all Product SKU: All beta Feature phase: Beta cloud Available on Cloud code Feature area: Code experiences shipped Shipped

Comments

@github-product-roadmap
Copy link
Collaborator

Summary

This feature will allow a repository to be forked to the same organization as its parent repository, addressing situations where users work in a single organization and don't want their repositories to be forked to other organizations or user accounts.

Intended Outcome

Users operating within a single GitHub organization face challenges collaborating on private repositories. When a member of the organization wants to contribute to a repository, they have two options:

  1. Create a branch in the repository: This is a challenge for users who don't have write access to create a branch and repository owners are wary of granting that permission.

  2. Fork the repository: This is a challenge because repositories can't be forked within a single organization. Users often resort to forking to a different organization or their personal account which can be undesirable for private repositories.

How will it work?

We'll address this by adding support for forking repositories within a single organization as shown in this mock-up:

In this mock-up, the repository's visibility (private) is shown, you can choose to fork to the same organization as the parent repository, and the fork's name can be customized to avoid conflicting with the parent repository's name.

@github github locked and limited conversation to collaborators Nov 9, 2021
@github-product-roadmap github-product-roadmap added all Product SKU: All beta Feature phase: Beta cloud Available on Cloud code Feature area: Code experiences labels Nov 9, 2021
@spaltrowitz spaltrowitz added the shipped Shipped label Jun 28, 2022
@spaltrowitz
Copy link

this has shipped to dotcom! 🚢 https://github.blog/changelog/2022-06-27-improved-innersource-collaboration-and-enterprise-fork-policies/ closing out this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
all Product SKU: All beta Feature phase: Beta cloud Available on Cloud code Feature area: Code experiences shipped Shipped
Projects
Archived in project
Development

No branches or pull requests

2 participants