作者热门文章
- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
我使用 GitHub 的电子环境为 OS X 编译二进制文件,并想将输出添加到 git 存储库。
我试过了
git add .
error: readlink("sulu.app/Contents/Frameworks/Electron Framework.framework/Electron Framework"): Function not implemented
error: unable to index file sulu.app/Contents/Frameworks/Electron Framework.framework/Electron Framework
fatal: adding files failed
有解决这个问题的想法吗?
最佳答案
Windows 命令
mklink /H "Link_File_Path" "Target_File_Path"
使用上面的命令为所有输出文件创建一个硬链接(hard link)。那可行。我为 git hooks 做了类似的事情。
有关mklink
的更多信息,请参阅此链接http://ss64.com/nt/mklink.html
关于git - 如何在 Windows 上将符号链接(symbolic link)添加到 git 存储库?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31232829/
我是一名优秀的程序员,十分优秀!