相关疑难解决方法(0)

conq:存储库不存在.致命:无法从远程存储库读取

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

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.
Run Code Online (Sandbox Code Playgroud)

我的cat .git/config产出:

[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"] …
Run Code Online (Sandbox Code Playgroud)

git bitbucket

11
推荐指数
2
解决办法
1万
查看次数

从SourceTree推送到BitBucket

我是BitBucket和SourceTree的新手,我尝试在SourceTree中使用Git将我的Rep推送到BitBucket,但它给了我这个错误:

conq: repository access denied. access via a deployment key is read-only.

fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Run Code Online (Sandbox Code Playgroud)

我通过公钥在BitBucket中设置了部署密钥,ssh密钥代理使用我的私钥运行.我有所有者访问权限.我想我错过了导致此错误的配置,有什么建议吗?

bitbucket git-push atlassian-sourcetree

5
推荐指数
2
解决办法
4672
查看次数

我可以将我的heroku git repo导入bitbuket吗?如何?

我的笔记本电脑坏了,我需要从另一台电脑编码.

我正在使用Heroku,我想从Heroku到另一台机器获取最新版本的代码.

我知道非常建议使用GitHub或BitBucket获取正确的远程存储库.

我决定尝试BitBucket.

在创建我的帐户时,它会询问我的git repo的旧网址.由于我的机器已经死了,我希望填写heroku URL,但这不起作用.

任何想法如何进行?

我的想法是,我可以从任何一台机器拉动并推动我的更改(当我的笔记本电脑来自维修时).

git heroku bitbucket ruby-on-rails-3

3
推荐指数
1
解决办法
2052
查看次数

无法使用部署密钥(bitbucket)EC2进行克隆

我无法使用部署密钥将我的存储库克隆到远程EC2 ubuntu实例.以下是我遵循的步骤.

  1. 我删除了我在bitbucket帐户中的现有部署密钥
  2. ~/.ssh/know_hosts按照/sf/answers/1856447701/进行了清理
  3. 我按照这些步骤生成了我的新密钥 ,并将其作为部署密钥添加到repo中.
  4. 这是输出 ssh -T git@bitbucket.org

    You can use git or hg to connect to Bitbucket. Shell access is disabled. This deploy key has read access to the following repositories: username/repository: KEYNAME -- email@gmail.com

  5. 但是当我尝试克隆存储库时,
    sudo git clone git@bitbucket.org:username/repository.git我收到以下错误 Cloning into 'repository'... Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

我在这里错过了什么吗?有人有什么建议吗?

谢谢阅读.

git ssh bitbucket amazon-ec2

3
推荐指数
1
解决办法
2478
查看次数