Warning and fatal error when using git on windows?

南笙酒味 提交于 2019-11-29 11:56:00

Use an exclude file that exists

As indicated by @iltempo's comment - this error occurs because there is a reference to read the file C:/Program Files (x86)/Git which isn't a file or doesn't exist.

A global git ignore file is a good idea - after creating one (if you don't already have one) - update the location that git is using so that it's used:

git config --global core.excludesfile C:/Users/me/global.gitignore

Alternatively to just remove the error, remove the reference:

git config --global --unset core.excludesfile
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!