githubteacher / github-for-developers-sept-2015

practice repo for the Sept 29-30 GitHub for Developers class
12 stars 36 forks source link

Help me fix, with bad boolean config value #736

Open tfozo opened 1 year ago

tfozo commented 1 year ago

git init fatal: bad boolean config value ''*'' for 'core.safecrlf'

How do I fix this?

kwizl commented 1 year ago

Seems we encountered the problem at the same time yesterday. This means that there is something wrong with your .gitconfig file. This is the config file git uses when doing adding and commits. Open your cmd and type git config --show-origin core.safecrlf. That will show you the location of the gitconfig file that git is using. On the [core] section of the file remove safecrlf = "*". Hope this helps.