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 'root@ubuntu.(none)')
解決辦法:
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
執行以上兩個步驟就OK了!