Details
-
Bug
-
Resolution: Invalid
-
Medium
Description
I am trying to push the code to my Bitbucket repository using Git from the Android Studio.
I have created a repository and added the ssh key there. Now I have tried the below command from the git bash:
#!JAVA ssh -T git@bitbucket.org
I got the output like below:
#!JAVA authenticated via a deploy key. You can use git or hg to connect to Bitbucket. Shell access is disabled. This deploy key has read access to the following repositories: abc/xyz: ssss25555sdvvd -- arindam.xxxxx@gmail.com
Now when I am trying to push from Android Studio, it is saying:
#!JAVA Push failed: Failed with error: fatal: Could not read from remote repository.
When I tried with push using the below command from terminal of Android Studio, I am facing this problem:
#!JAVA git push origin master Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
I am not understanding what else I need to do to push the code. Can anyone help me on this please.