I was trying to set up some git aliases and noticed a strange thing about git config:
$ git config user.name foo # this stores the new name, ok
$ git config user.name bar baz # this adds a 'name = bar' entry to the config, wtf?
$ git config user.name qux
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 wonder why git stores multiple values in the 2nd case and when it can be useful?