在第一次练习使用时,在使用git commit命令时会执行失败,比如我在首次使用时先使用git init命令初始化本地仓库,然后要用git commit -m "Initial commit"命令提交,但是提示失败:
*** 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 'Aoliaovier@HaoyongWin10PC.(none
)’)
如果你报出的以上错误那么你可以使用以下方法所解决