Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

fatal: bad config line 3 in file C:/Users/13472/.gitconfig

I accidentally deleted my GitConfig file and I’m getting this error.
fatal: bad config line 3 in file C:/Users/13472/.gitconfig

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Please paste the contents of the file. It could be something as simple as spacing or line endings (the file should have \n or line feeds as the line endings). Every indent in the file should be a tab charcter – not spaces.

[user]
    name = ******
    email = *******.com
    signingKey = ""
[core]
    autocrlf = false
[http]
    sslbackend = schannel
    cookiefile = %USERPROFILE%\\.gitcookies
[filter "lfs"]
    smudge = git-lfs smudge -- %f
    process = git-lfs filter-process
    required = true
    clean = git-lfs clean -- %f
[gpg]
    program = gpg
[commit]
    gpgSign = false
[tag]
    forceSignAnnotated = false
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading