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

Time:09-30

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

CodePudding user response:

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
  • Related