Article version: Enterprise Server 2.17
Enabling anonymous Git read access for a repository
As a repository administrator, you can enable or disable anonymous Git read access for public repositories that meet certain requirements.
Repository administrators can change the anonymous Git read access setting for a specific repository if:
- A site administrator has enabled private mode and anonymous Git read access.
- The repository is public on the instance and is not a fork.
- A site administrator has not disabled anonymous Git read access for the repository.
- You cannot change the Git read access settings for forked repositories since they inherit their access settings from the root repository by default.
- If a public repository becomes private, then anonymous Git read access will automatically be disabled for that repository and it forks.
- If a repository with anonymous authentication contains Git LFS assets, it will fail to download the Git LFS assets since they still require authentication. We strongly recommend not enabling anonymous Git read access for a repository with Git LFS assets.
- On GitHub Enterprise, navigate to the main page of the repository.
- Under your repository name, click
- Next to "Enable anonymous Git read access", click Enable.
- Review the changes. To confirm, type in the name of the repository and click I understand, enable anonymous Git read access.