For some reason I\'m getting the error that \"More than one value for the key user.name\" when I try to set the user.name for my git account. How can I set it to a single n
First look to see what user.names are in the config:
git config --list
Example output:
user.email=abarker@cern.ch user.name=fiveisgreen user.github=fiveisgreen user.name=Anthony
In this example, user.name is listed twice. To remove the duplicate do:
git config --global --unset user.name