我想创建符号链接使用我的团队共享的脚本。该脚本在Mac上运行良好,但下面这行代码:
ln -s `pwd`/git-hooks/post-checkout .git/hooks在我的Windows机器上失败,WSL报告:
ln: failed to create symbolic link ‘.git/hooks/post-checkout’: Input/output error我该如何解决这个问题呢?
发布于 2017-04-07 16:42:03
windows版本的符号链接已存在。WSL将其视为普通文件,因此无法在其中创建链接。
当我明白这一点时,我删除了这些链接,并再次调用命令,问题就解决了。
https://stackoverflow.com/questions/43273263
复制相似问题