conq:存储库不存在。致命:无法从远程存储库读取 [英] conq: repository does not exist. fatal: Could not read from remote repository

查看:570
本文介绍了conq:存储库不存在。致命:无法从远程存储库读取的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Bitbucket中添加了ssh密钥。如果我做了 ssh -T git@bitbucket.org 他说我登录了。但是当我做一个git push / pull时,我收到以下消息:

I have the ssh keys added in Bitbucket. If I do ssh -T git@bitbucket.org he says I'm logged in. But when I do a git push/pull I get the following message

conq: repository does not exist.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

我的 cat .git / config 输出:

My cat .git/config outputs:

[core]
    repositoryformatversion = 0
    filemode = true
    bare = false
    logallrefupdates = true
    ignorecase = true
    precomposeunicode = true
[remote "origin"]
    url = git@bitbucket.org:myUserName/myGitRepo.git
    fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
    remote = origin
    merge = refs/heads/master
[remote "heroku"]
    url = git@heroku.com:herokuUrl.git
    fetch = +refs/heads/*:refs/remotes/heroku/*
[branch "somebranch"]
    remote = origin
    merge = refs/heads/somebranch

git remote -v  

列印出来:

prints out:

heroku  git@heroku.com:herokuUrl.git (fetch)
heroku  git@heroku.com:herokuUrl.git (push)
origin  git@bitbucket.org:myUserName/myRepo.git (fetch)
origin  git@bitbucket.org:myUserName/myRepo.git (push)


推荐答案

我得到了相同的消息,我不得不从路径中删除我的用户ID ....所以,而不是:

I got the same message, and I had to remove my user id from the path.... So instead of:

url = git@bitbucket.org:myUserName/myGitRepo.git

有效的是:

What worked was:

url = git@bitbucket.org:myGitRepo.git

这篇关于conq:存储库不存在。致命:无法从远程存储库读取的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆