Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 3
Message 21 of 55

Re: Can I give read-only access to a private repo (from a developer account)?

Hi there,

any updates on this?

I have the same requirement as others that reply to this topic.

I want to add users to my private repo, but I want them to contribute only using PR, not by committing directly.

I'm sure that not only I have such a requirement.

This feature request is from ‎12-11-2017, so it is taking forever 😥

Highlighted
Community Manager
Message 22 of 55

Re: Can I give read-only access to a private repo (from a developer account)?

Hi @Misiu,

You should be able to use branch protection and codeowner rules to accomplish the goal of preventing users from committing without a pull request. Does this accomplish what you're looking for?

Thanks!

Highlighted
Copilot Lvl 3
Message 23 of 55

Re: Can I give read-only access to a private repo (from a developer account)?

I don't have GitHub Pro, so without a paid plan, I can't set up this for a private repo.

Highlighted
Copilot Lvl 2
Message 24 of 55

Re: Can I give read-only access to a private repo (from a developer account)?

Using protected branch ( especially for master) will give you some options, such as requesting members with write permission review to the changes before merging. You can also enforce the need for owner review. I did not tried protected branches with private reops before but I think it would be the same as the public repos.

Highlighted
Ground Controller Lvl 1
Message 25 of 55

Re: Can I give read-only access to a private repo (from a developer account)?

@WaleedMortajaThis is not exactly what you need.

 

+ 1 it would be nice to have possibly give a look at the private private repository.

Highlighted
Ground Controller Lvl 1
Message 26 of 55

Re: Can I give read-only access to a private repo (from a developer account)?

+ 100

Working with a colleague overseas that I want to be able to give access to pull my code (for reference/educational purposes), but not to be able to push.

Highlighted
Ground Controller Lvl 1
Message 27 of 55

Re: Can I give read-only access to a private repo (from a developer account)?

+1 from me.
I would like to be able to invite someone to "ONLY look" at a private repo.

Highlighted
Ground Controller Lvl 1
Message 28 of 55

Re: Can I give read-only access to a private repo (from a developer account)?

+1

Would be extremely helpful in corporate environment.

Highlighted
Ground Controller Lvl 1
Message 29 of 55

Re: Can I give read-only access to a private repo (from a developer account)?

+1 


I'm trying to use Github as a place to keep my work and show potential employers. Would love to still have the ability to make it private and just give people access to view.

Highlighted
Ground Controller Lvl 1
Message 30 of 55

Re: Can I give read-only access to a private repo (from a developer account)?

+1 - I have a couple of private repositories I want to share with friends but I don't want them to be able to write to them.