Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
ReviewBoard更改Heroku Git repo URL,克隆失败_Git_Heroku - Fatal编程技术网

ReviewBoard更改Heroku Git repo 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

在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/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