错误信息如下所示:
Running D:/software/Git/mingw64/libexec/git-core/git.exe commit –
unable to auto-detect email address (got ‘admin@DESKTOP-Q7IQL37.(none)’) … [Hit ` to see buffer magit-process: .doom.d for details]
原因
没有设置git的邮箱和用户名
解决
使用下列两条命令全局设置你的本地git用户名和邮箱即可
git config --global user.name "your_name"
git config --global user.email "your_email@example.com"