成功克隆了来自heroku的repo并添加了另一个遥控器
1/ git clone git@heroku.com:[APP].git
2/ git remote add bitbucket ssh://git@bitbucket.org/[ACCOUNT]/[REPO].git
3/ git push bitbucket master
Run Code Online (Sandbox Code Playgroud)
运行第(3)行或使用SourceTree后,我仍然收到此错误
conq: repository access denied. access via a deployment key is read-only.
Run Code Online (Sandbox Code Playgroud)
首先,我不明白这个消息在实践中意味着什么.这太可惜了.
我确实创建了ssh密钥对并添加到heroku:
ssh-keygen -t rsa
heroku keys:add ./id_rsa.pub
Run Code Online (Sandbox Code Playgroud)
我还在BitBucket中的部署密钥部分添加了我的密钥.但我必须遗漏一些东西.这个问题并非出于懒惰,我一直在阅读各种文档,包括BitBuckets指南.但它仍然无法解决这个问题.
这篇文章与我可以将我的heroku git repo导入bitbuket有关吗?如何?
其他事实:
ssh -T hg@bitbucket.org
conq: authenticated via a deploy key.
You can use git or hg to connect to Bitbucket. Shell access is disabled.
$ ssh -v git@bitbucket.org
OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011
debug1: Reading configuration data /Users/joel/.ssh/config …Run Code Online (Sandbox Code Playgroud) 我在debian Wheezy上使用git版本1.7.10.4.
我正在尝试创建一个新的存储库(根据' git-scm.com的手册)但是每次我都会遇到这个致命的错误:
fatal: repository 'poekoe' does not exist
Run Code Online (Sandbox Code Playgroud)
这就是我在命令行输入的内容:
git clone --bare --progress poekoe poekoe.git
Run Code Online (Sandbox Code Playgroud)
我也在sqeeze发行版上试过这个,它运行正常.(挤压的git版本是:git版本1.7.2.5)
wheezy发行版上的所有已安装软件包包括:
libcurl4-gnutls-dev
libexpat1-dev
gettext
vim
libz-dev
libssl-dev
git
Run Code Online (Sandbox Code Playgroud)
一切都是为了让这个工作.
有人知道如何解决这个问题吗?我以root身份运行脚本