亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

輸入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)')


正在回答

2 回答

命令執行失敗的原因是沒有在本地設置用戶名和郵箱,在命令行設置一下即可:?git config –global user.email “[email protected]”、?
git config –global user.name “Your Nam”, 然然后重新用git commit -m “Initial commit”命令提交。

0 回復 有任何疑惑可以回復我~

截圖部分是視頻內容,是視頻部分? 上面的命令是我在linux中出現的問題 這個問題怎么解決?

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消
版本管理工具介紹—Git篇
  • 參與學習       152592    人
  • 解答問題       230    個

本課程主要講解了git在各平臺的安裝和基本使用,來學習Git吧

進入課程

輸入get commit后出現下面提示這個什么怎么解決?

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號