我第一次使用git并设置了用户名和用户邮件.我使用的命令如下:
git config --global user.email "bob@example.com"
git config user.email "bob@example.com"
git config --global user.name "bob"
git config user.name "bob"
Run Code Online (Sandbox Code Playgroud)
当我跑步时git commit --author "bob",我收到了一个错误fatal: No existing author found with 'bob'.如何设置用户名和电子邮件?