gpt4 book ai didi

bitbucket - Git - 致命的 : Unable to create '/path/my_project/.git/index.lock' : No such file or directory read tree xxxx command returned error: 128

转载 作者:行者123 更新时间:2023-12-02 03:30:42 24 4
gpt4 key购买 nike

我正在按照本教程将我的 SVN 存储库转换为 git (bitbucket):https://www.atlassian.com/git/tutorials/migrating-convert/

但是我在运行命令时不断收到此消息:git svn clone --stdlayout --authors-file=authors.txt --prefix=origin/

最佳答案

答案在评论中有所解释。

Similar issues are experienced on Windows system due to its limitations like:

  • 某些 Windows API 的文件路径名限制为 260 个符号。所以 git 不能创建名称超过 260 个符号的文件。 NTFS 文件系统实际上支持更长的名称(32k)
  • Windows 目录允许中间有空格,如我的文件夹
  • ASCII Space (0x20) 开头或结尾的 Windows 文件和文件夹名称在保存时不包含这些字符。

Some of the Workarounds are:

  • git 目录移动到更靠近驱动器的位置,以使文件名保持在 260 个符号以内。
  • 使用FARGnuWin等工具手动创建whitespace目录

引用:

关于bitbucket - Git - 致命的 : Unable to create '/path/my_project/.git/index.lock' : No such file or directory read tree xxxx command returned error: 128,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26975463/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com