在第一次練習使用時,在使用git commit命令時會執行失敗,比如我在首次使用時先使用git init命令初始化本地倉庫,然後要用git commit -m "Initial commit"命令提交,但是提示失敗:
*** Please tell me who you are.
Run
git config --global user.email "[email protected]"
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
)’)
如果你報出的以上錯誤那麼你可以使用以下方法所解決