当前位置: 首页 > 知识库问答 >
问题:

警告:克隆成功,但签出失败

方恺
2023-03-14
C:\Users\User\Desktop>git clone https://github.com/XXXXXXXXXX.git
Cloning into 'one-piece'...
remote: Counting objects: 5463, done.
remote: Compressing objects: 100% (3600/3600), done.
remote: Total 5463 (delta 1539), reused 5359 (delta 1438), pack-reused 0
Receiving objects: 100% (5463/5463), 5.08 MiB | 1.38 MiB/s, done.
Resolving deltas: 100% (1539/1539), done.
Checking connectivity... done.
warning: unable to access 'hackathon/node_modules/noble/node_modules/bluetooth-hci-socket/node_modules/usb
/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/
node_modules/core-util-is/lib/.gitattributes': Filename too long
fatal: cannot create directory at 'hackathon/node_modules/noble/node_modules/bluetooth-hci-socket/node_mod
ules/usb/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable
-stream/node_modules/process-nextick-args': Filename too long
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'

共有1个答案

濮升
2023-03-14

试试看:

git config --system core.longpaths true

来源

 类似资料:
  • 我在使用时遇到了一些问题。运行命令

  • 我收到一条错误消息: 对此,我进行了讨论:https://groups.google.com/forum/#!主题/vertx/bws3x9-WsV0,其中一个回复是: 你如何开始垂直。x?CLI和启动器类中有一个主机名检测机制。如果您有自己的主类,请确保正确设置ClusterHost选项。 因此,我在中查找描述https://vertx.io/docs/vertx-hazelcast/java/

  • 问题内容: 我正在尝试制作一个称为myHash的Point HashSet的浅表副本。截至目前,我有以下内容: 这段代码给了我一个未经检查的强制转换警告。有一个更好的方法吗? 问题答案: 您可以尝试以下方法:

  • 我正在运行我运行了一个执行 一切都很好,但是当我去我的任务日志,我看到这些: 似乎是Apache未处理的问题?

  • 尝试访问私有公司 tfs。他们通过向Windows用户(域\登录)授予适当的权限来授予我访问权限。 我可以很好地访问tfs的web界面,浏览存储库和其他东西。 但当我试图逃跑 它失败了 尝试与家用PC没有公司网络的东西 - 同样的错误。 在PowerShell、Git Bash、Clone via VisualStudio中尝试过-同样的错误。 SSH关闭(给定请求超时)。 网络 企业助手试图帮助

  • 我是新来的,从克隆存储库时出现以下错误。 我试图在这里搜索所有相关问题,但可以找到确切的stacktstrace和答案。 我正在尝试克隆需要用户名和密码的存储库,我正在作业配置设置中为我的作业提供存储库路径。我什么也没做。ssh相关设置,因为这似乎与GIT存储库的安全问题不同。 我不知道Jenkins试图执行什么注释,也不知道它找到了哪个文件/目录。 这是我在詹金斯工作中的确切堆栈跟踪: 原因:j