我正在使用Git-1.9.0-preview20140217Windows.据我所知,这个版本应该解决文件名太长的问题.但不适合我.
当然,我做错了什么:我没有git config core.longpaths true和git add .再git commit.一切顺利.但是当我现在做的时候git status,我会得到一个文件列表Filename too long,例如:
node_modules/grunt-contrib-imagemin/node_modules/pngquant-bin/node_modules/bin-wrapper/node_modules/download/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-handle-source-errors.js: Filename too long
Run Code Online (Sandbox Code Playgroud)
复制对我来说非常简单:只需使用Angular生成器创建一个Yeoman Web应用程序("yo angular")并node_modules从.gitignore文件中删除.然后重复上述Git命令.
我在这里错过了什么?
我在eclipse helios中有这个错误:
执行命令行时发生异常.无法运行程序"C:\ Program Files(x86)\ Java\jre6\bin\javaw.exe"(在目录"C:\ Users\motiver\helios_workspace\TimeTracker"中):CreateProcess error = 206,文件名或扩展名为太长
我研究了一下,但在使用Google App Engine时,大多数问题都与DataNucleus有关.但我没有使用与Google App Engine远程相关的任何内容.我正在使用JBOSS 6上的Servlet 3.0进行一个小项目.我正在使用Hibernate 4.1.2 for ORM和RESTEasy来公开Web服务.我创建了一个util文件,它有一个main()方法,基本上删除并重新创建模式.当我需要一个干净的数据库用于测试目的时,我运行main()方法.它在Tomcat 7上运行良好,但当我转移到JBoss 6时它停止工作.
任何提示或解决方案将不胜感激.
当我在 Windows 10 v.1909上使用CMD和PowerShell和 ssh-agent从 GitHub 克隆时,显示如下:
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Run Code Online (Sandbox Code Playgroud)
但是,我跑ssh -vT git@github.com了,钥匙确实有效
debug1: Offering public key: {My key}
Run Code Online (Sandbox Code Playgroud)
和
Hi {My username}! You've successfully authenticated, but GitHub does not provide shell access.
Run Code Online (Sandbox Code Playgroud)
但是使用 Git bash 我可以很好地克隆。
GitLab 也会发生这种情况。
我试过
Host *
ForwardAgent yes
Run Code Online (Sandbox Code Playgroud)
在.ssh/config,它不起作用。
我还尝试了GitHub 支持页面和GitHub 社区论坛的所有解决方案,但仍然无效。
附注。我更喜欢 Windows cmd。