Problem when executing the git config --list command

2

According to the official documentation of git Beginning - Configuring git por first time when executing the command git config --list I should list all the configuration that I have given to the environment along with my user.name and user.email , my problem is that when executing this command returns this result:

git config --list

core.symlinks=false
core.autocrlf=true
core.fscache=true
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=true
help.format=html
http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
diff.astextplain.textconv=astextplain
rebase.autosquash=true
credential.helper=manager
gui.recentrepo=C:/Users/jorius/Desktop/MIK
core.autocrlf=true
core.excludesfile=C:\Users\jorius\OneDrive\Documentos\gitignore_global.txt

Which does not show me this information, I would like to know if this is an "error" or if it is normal to happen, I find it curious that it does not appear because if I work in a repository it does not pose any problem and makes the commits correctly.

    
asked by Jorius 09.11.2016 в 16:37
source

1 answer

1

You can run

git config --list --show-origin

You get the path of your file .gitconfig

and add

[user] 
   name = Tu nombre 
   email = Tu email

Then run git config --list and this data should already appear in the response.

    
answered by 09.11.2016 / 17:31
source