Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/22.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
在jelastic中使用git子模块_Git_Jelastic - Fatal编程技术网

在jelastic中使用git子模块

在jelastic中使用git子模块,git,jelastic,Git,Jelastic,我正在项目中使用git子模块。 当我尝试更新项目时,会看到“java.io.IOException:等待数据时超时” 在git日志中有 04/28/14. 4:36:38.315904463spawn /usr/bin/git submodule update --init --recursive Initialized empty Git repository in /var/www/webroot/ROOT-476/protected/modules/present/models/.git/

我正在项目中使用git子模块。 当我尝试更新项目时,会看到“java.io.IOException:等待数据时超时”

在git日志中有

04/28/14. 4:36:38.315904463spawn /usr/bin/git submodule update --init --recursive
Initialized empty Git repository in /var/www/webroot/ROOT-476/protected/modules/present/models/.git/
The authenticity of host 'bitbucket.org (131.103.20.167)' can't be established.
RSA key fingerprint is 97:8c:1b:f2:6f:14:6b:5c:3b:ec:aa:46:46:74:7c:40.
Are you sure you want to continue connecting (yes/no)? 

我需要做什么来解决这个问题?

试试ssh-tvvgit@bitbucket.org在命令行中,对有关主机“
bitbucket.org
”真实性的问题回答
yes

然后您可以再次更新您的项目

它挂起是因为它正在等待stdin输入

由于它是Jelast云,您需要请求ssh访问(请参阅),例如:

ssh 4856@gate.j.layershift.co.uk -p 3022

在该会话中,您将能够更新主机指纹文件,以便在其中记录bitbucket。

我知道,但在apache节点中没有命令行@verybadbug您没有访问运行该进程的计算机上的命令行的权限?这是云。我可以添加终端节点,但它实际上与apache节点(repo所在的位置)分离。配置(包括更新git repo)是通过web界面进行的。@verybadbug,这样您就可以像中一样获得控制台了吗?(
aws ec2获取控制台输出——实例id xxx
)@verybadbug ok,您可以打开ssh会话吗?(如:
ssh中所示)4856@gate.j.layershift.co.uk-第3022页