輸入get commit后出現下面提示這個什么怎么解決?
[root@localhost test]# git 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 'root@localhost.(none)')
2018-03-13
命令執行失敗的原因是沒有在本地設置用戶名和郵箱,在命令行設置一下即可:?git config –global user.email “[email protected]”、?
git config –global user.name “Your Nam”, 然然后重新用git commit -m “Initial commit”命令提交。
2017-12-06
截圖部分是視頻內容,是視頻部分? 上面的命令是我在linux中出現的問題 這個問題怎么解決?