Github - no write access to team's repo in organisation

On Github, I am a member of a team in an organisation with 'maintainer' status.

We have some repos under the team page, but I cannot git push (have write access?) to any of them.

Can someone please tell me what has to happen for me to have write access to the repos?

1 answer

  • answered 2017-06-17 19:14 Rohit Poudel

    Checking your permissions

    If you are trying to clone a private repository but do not have permission to view the repository, you will receive this error.

    Make sure that you have access to the repository in one of these ways:

    • The owner of the repository

    • A collaborator on the repository

    • A member of a team that has access to the repository (if the repository belongs to an organization)

    Check your SSH access

    In rare circumstances, you may not have the proper SSH access to a repository.

    You should ensure that the SSH key you are using is attached to your GitHub user account. You can check this by typing the following into the command line:

    $ ssh -T git@github.com
    Hi username! You've successfully authenticated, but GitHub does not
    provide shell access.
    

    Check that the repository really exists

    If all else fails, make sure that the repository really exists on GitHub! If you're trying to push to a repository that doesn't exist, you'll get this error.