ReviewBoard更改Heroku Git repo URL,克隆失败
在Heroku托管的ReviewBoard中创建Git回购时,我输入Heroku Git URL:ReviewBoard更改Heroku Git repo URL,克隆失败,git,heroku,Git,Heroku,在Heroku托管的ReviewBoard中创建Git回购时,我输入Heroku Git URL: git@heroku.com:appname.git ReviewBoard正在将此更改为: ssh://git@heroku.com/appname.git Heroku不喜欢这样,拒绝克隆尝试: 2012-08-22 22:26:39,267 - ERROR - Git: Failed to find valid repository ssh://git@heroku.com/appnam
git@heroku.com:appname.git
ReviewBoard正在将此更改为:
ssh://git@heroku.com/appname.git
Heroku不喜欢这样,拒绝克隆尝试:
2012-08-22 22:26:39,267 - ERROR - Git: Failed to find valid repository ssh://git@heroku.com/appname.git:
! Invalid path.
! Syntax is: git@heroku.com:<app>.git where <app> is your app's name.
fatal: Could not read from remote repository.
2012-08-22:26:39267-错误-Git:找不到有效的存储库ssh://git@heroku.com/appname.git:
! 无效路径。
! 语法是:git@heroku.com:.git您的应用程序的名称在哪里。
致命:无法从远程存储库读取。
如何让ReviewBoard不重写Git回购URL?
为什么Heroku不接受以下形式的URL:ssh://git@heroku.com/appname.git
?我在何处可以将此报告为Heroku中的bug?我搜索了他们的网站,看不到在哪里打开支持票证。正如我在评论中提到的,缺少的一个元素是: 输入正确的地址(
git@heroku...
)位于审阅板中本地克隆声明的镜像路径中
见“”
为了与审查委员会合作,本地克隆需要定期保持同步。它应该可以直接访问中央Git服务器,或者每次提交到中央Git服务器时都需要更新它 路径字段应该是此签出中
.git
目录的完整路径。例如:
Mirror
path`字段应包含存储库URL。通过运行以下命令,从git签出中查找应使用的URL: 显示为URL:的值应作为镜像路径输入。例如:
用户名
和密码
字段应为空
你输入的地址对吗(git@heroku...)在审阅板中本地克隆声明的镜像路径中?谢谢!看起来它现在起作用了。好极了。我补充了一个答案来结束这个问题。
/var/git/projectname/.git
$ git remote show origin
git@git.example.com:projectname.git