8

I was wondering in GitHub, how do I view the permissions I have to a particular repository? If the URL is

https://github.com/org/repo

Where can I find out what (if any) permission I have?

satish
  • 483
  • 14
  • 38

2 Answers2

3

If the git repo is in github, open any file in the repo, then click 'edit', github will show something like this:

You’re editing a file in a project you don’t have write access to. We’ve created a fork of this project for you to commit your proposed changes to. Submitting a change to this file will write it to a new branch in your fork, so you can send a pull request.enter code here

Refer to this link:

How can I check write access to a remote Git repository ("can I push?")

wuchunfu
  • 99
  • 9
0

To check for which of the repositories you have access to (i.e. both forked and non forked)

Click on profile -> Settings -> Repositories

https://github.com/settings/repositories

  • I believe the original poster was asking about *any* GitHub repo, not just ones you own or that you have forked. – dave_k_smith Jul 16 '21 at 19:01
  • This is useful because it shows repositories I have access to even if I can't view the settings from the repository itself. I can't remember which repositories I have accepted an invitation to but this seems to include those. But it doesn't show full detail. Where do you look for this information, @dave_k_smith ? – binki Apr 30 '22 at 17:36