如何设置 .gitconfig 以识别 *.woff 文件?我尝试:
*.eot binary
*.ttf binary
*.woff binary
*.woff2 binary
Run Code Online (Sandbox Code Playgroud)
但我有
致命:.git/config 中的错误配置文件第 15 行
你能帮我吗 ?提前致谢。
小智 5
您需要创建一个文件.gitattributes(与存储库中的 .gitignore 文件相同的位置)
*.eot binary
*.ttf binary
*.woff binary
*.woff2 binary
Run Code Online (Sandbox Code Playgroud)