linuxubuntu.profile

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


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 ?


Solution

  • 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 "mario@gmail.com"