Hi there,

By mistake I tried to set global user.name with extra quote(like ““xyz””) 
instead of only one (like “xyz”) and now it prevents me to set correct 
user.name. Steps to reproduce this,

   1. 
   
   git config --global user.name ““Debanjana Sarkar””
   output of “git config --list”
   user.name=Debanjana // Surname is missing
   2. 
   
   Now reading manual and try to set the user.name correctly.
   git config --global user.name “Debanjana Sarkar”
   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.
   3. 
   
   Hence I added “–replace-all” but it still did not replace but rather 
   added another user.name entry.
   git config --global user.name “Debanjana Sarkar” --replace-all
   git config --list
   user.name=Debanjana
   user.name=Debanjana Sarkar <---------- Another entry instead of 
   replacing existing one !!
   
Reproduced this in both windows and Linux and in Linux I had to change 
.gitconfig to recover this.
I heard this is right place to discuss about this. Any suggestion or 
feedback if I’m doing it wrong ?

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/63807fa0-8f5b-4ed3-8f9e-09176c5db67en%40googlegroups.com.

Reply via email to