首页 > 解决方案 > 无法使用 Netbeans IDE 克隆 git 项目,但 CLI 有效

问题描述

我正在尝试使用 NetBeans 作为 IDE 来处理 GIT (confluence)。我正确(我认为)添加了连接字符串:

http://git-repo:7990/scm/riw/php-project.git

使用我的凭据配置的用户名和密码字段

我按照这个Netbeans 官方视频中的步骤进行操作

但是,一旦我得到我认为的最后一步,我就会收到以下消息:

http://dds@git-repo:7990/scm/riw/php-project.git Starting read stage without written request data pending is not supported

在我的本地系统上,我找到带有内部 .git 文件夹的项目文件夹,但没有项目文件。

使用 CLI 运行:

git clone http://git-repo:7990/scm/riw/php-project.git

我被要求输入用户名和密码,然后下载所有数据。

我的问题是:我应该怎么做才能使 netbeans git 插件按预期工作?

我正在运行最后一个版本的 netbeans:Apache NetBeans IDE 11.0 (Build incubator-netbeans-release-404-on-20190319)

我的操作系统是Xubuntu,带有 O racle Java 12php 7.2

标签: gitnetbeansconfluencegit-clone

解决方案


作为一种解决方法,因为 CLI git clone 确实有效:

  • 手动克隆它,
  • 然后将项目导入您的 NetBeans,并检查 fetch/pull/push 是否以这种方式工作。

可能是被接受的证书问题


推荐阅读