ubuntu throws this error: error found when loading /home/user/.profile user.name has multiple values, cant access to my laptop

789 views Asked by At

i have an issue about ubuntu, when i try to login to my user, i got this error: see the screen

the message: warning: user.name has multiple values error: cannot overwrite multiple values with a single value Use a regexp, --add or --replace-all to change user.name.

i can successfully login to my second user, i tried to reset my git username but doesn't work

can any one help about this problem ?

1

There are 1 answers

1
Mons On BEST ANSWER

Hello i have fixed the problem by changing my git username and email :

git config --global --replace-all user.name "mario"

git config --global --replace-all user.email "[email protected]"