Why does git commit say 'Author identity unknown'?
Summary As of October 2026, the Pro Git book says to set your identity once with git config --global user.name and user.email; the --global flag applies to every repository for your user, and the same commands without it override a single project. Commits made by an agent use that identity too.