我在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) 我是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密钥代理使用我的私钥运行.我有所有者访问权限.我想我错过了导致此错误的配置,有什么建议吗?
我的笔记本电脑坏了,我需要从另一台电脑编码.
我正在使用Heroku,我想从Heroku到另一台机器获取最新版本的代码.
我知道非常建议使用GitHub或BitBucket获取正确的远程存储库.
我决定尝试BitBucket.
在创建我的帐户时,它会询问我的git repo的旧网址.由于我的机器已经死了,我希望填写heroku URL,但这不起作用.
任何想法如何进行?
我的想法是,我可以从任何一台机器拉动并推动我的更改(当我的笔记本电脑来自维修时).
我无法使用部署密钥将我的存储库克隆到远程EC2 ubuntu实例.以下是我遵循的步骤.
~/.ssh/know_hosts按照/sf/answers/1856447701/进行了清理这是输出 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
但是当我尝试克隆存储库时,
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.
我在这里错过了什么吗?有人有什么建议吗?
谢谢阅读.