Are public repositories possible with Enterprise accounts? #172175
Replies: 5 comments
-
| 
         On GitHub, Enterprise accounts cannot create public repositories by default when using GitHub Enterprise Cloud. This is intentional because Enterprise accounts are designed to give organizations full control over code visibility, typically favoring private repositories to maintain security and compliance. There is no global toggle that allows public repositories for Enterprise organizations unless you explicitly configure them at the organizational level. If you need public repositories under an Enterprise account, you have two main options: 
  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         Hi..! By default, GitHub Enterprise Cloud organizations can create public repositories , but the ability depends on the organization settings and the policies set by the Enterprise admin. 
 If your company doesn’t want public repos, but you still need to share code internally: 
 So, yes it’s possible , just depends on how your Enterprise policies are configured.  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         These options don't exist if you use SSO for your users. Which is a shame because we might want a few public repos available that only admins can create.  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         On GitHub Enterprise, the ability to create public repositories depends on the settings your enterprise administrators have configured. By default, many enterprise accounts have public repositories turned off for security and compliance reasons, but this can usually be changed by an enterprise or organization owner in the visibility policies. If your company wants to keep scripts accessible internally but still share some projects publicly, a common approach is to maintain most code in private repositories under the enterprise account while using a separate GitHub organization (outside of Enterprise) for open-source or public-facing work. This way, your internal scripts remain secure and controlled, while anything meant to be shared more broadly can live in a dedicated public space without mixing concerns.  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         I think our problem is we're using IdP users: "With Enterprise Managed Users, you can control the user accounts of your enterprise members through your identity provider (IdP). See About Enterprise Managed Users. Managed user accounts can contribute only to private and internal repositories within their enterprise and their own private repositories. On GitHub.com, they have read-only access to the wider GitHub community. These visibility and access restrictions apply to all requests, including API requests."  | 
  
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
We are considering using Enterprise accounts to manage our scripts and things, and when we fired up a trial of Enterprise, we were surprised that we couldn't create public repositories. It is very possible that we're missing the option to turn that on since we're new to GitHub.
Is this possible?
If it is not, what is your recommendation on how to organize a company's script repositories? (self-hosting Git isn't an option)
Beta Was this translation helpful? Give feedback.
All reactions