Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I view my permissions for a particular Git repo?

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?

like image 847
satish Avatar asked Dec 04 '25 15:12

satish


2 Answers

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?")

like image 172
wuchunfu Avatar answered Dec 07 '25 08:12

wuchunfu


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

like image 20
Sachin Chillal Avatar answered Dec 07 '25 08:12

Sachin Chillal



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!