Hi nixos friends!
I have a small repo that I wanted to commit to a local gitea-server
$ git commit -m "Initial commit" --verbose
Author identity unknown
*** Please tell me who you are.
Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got '......')
$ git config --list --show-origin
shows the correct user.mail and user.name in both my ~/.gitconfig and .git/config
So why does not git read those files?
B.t.w git commit -m "Initial commit" --author "Name <email>" does not work either