在 bitbucket 中更新存储库时无法从远程存储库读取

Could not read from remote repository while updating repository in bitbucket

我已经在 bitbucket 中克隆了存储库。现在我需要在更新源存储库后同步它。我正在单击“源”面板右侧的同步按钮。然后说冲突太多,无法在web界面解决:

我尝试按照说明进行操作,但出现此错误:

C:\Users\Stepan\Projects\test>git checkout master
Already on 'master'
Your branch is up to date with 'origin/master'.

C:\Users\Stepan\Projects\test>git remote add someuser/somerepo git@bitbucket.org:someuser/somerepo.git

C:\Users\Stepan\Projects\test>git fetch someuser/ow
git@bitbucket.org: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

存储库所有者说他已授予我所有访问权限。我该如何解决?

bitbucket给出的指令是错误的,在git remote add ...之后,我不得不编辑url 属性 .git/config 手动:

git@bitbucket.org:someuser/somerepo.git -> https://stepany@bitbucket.org/someuser/somerepo.git