Search code examples
gitrepositorygit-push

No write access to clients git repository


I've got to make some changes to a clients website but when I try to push to remote (on codebasehq.com), I'm told I don't have write access to the repository. In case it was an issue with the SSH key I set up, I removed it (from codebasehq.com) in this scenario and then tried to push again and this time was told 'permission denied (publickey)' so this confirms the key was okay.

I'm unsure what I am supposed to do to give myself write access to the repo? I've tried searching but not found anything I particularly grasp other than initialising with git init --shared (already done).

Does my client have to provide the write access to the remote repo or is it something I can get around myself, and if so, how?


Solution

  • This was actually resolved by the client needing to actually provide us with write access to the repository (which I presume is set up for users within codebasehq.com).