How to Change the user Name Globally?

I tried to change my user name Globally . But it shows a warning and Error message mentioned below:
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.

How can i fix this error and change user name and email ?