The repo is new, am trying to push the first commit but i get the error
repository access denied.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I have been to google and also viewed the answers to the other questions on this forum but none of the solutions worked for me so far.
My keys have been added and the key that i use with this repo is listed when i do
ssh-add -l
and my internet is ok too, what could be the possible reasons for this and how do i sort it out. thanks in advance
Hello,
What is your command for push? Are you sure that you setup remotes correctly? You can check your remotes with
git remote -v
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
my command for push is git push origin master
since its the first push and git remote -v prints out:
origin git@bitbucket.org:----.git (fetch)
origin git@bitbucket.org:----.git (push)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
kindly try
git remote get-url origin
and make sure that there is the right url
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The url is correct, even copy pasted the command directly from bitbucket
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.