日本免费高清视频-国产福利视频导航-黄色在线播放国产-天天操天天操天天操天天操|www.shdianci.com

學無先后,達者為師

網站首頁 編程語言 正文

git問題:“ unable to auto-detect email address”或 “*** Please tell me who you are.”

作者:一種天氣 更新時間: 2022-09-25 編程語言

問題:
在這里插入圖片描述

網上有種解決辦法是找到config文件在最后加上:

[user]
 email=your email
 name=your name

但我這樣改了之后會提示文件錯誤:
在這里插入圖片描述
最后的解決辦法是加上這兩條git語句,用戶名和賬號可以修改:

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

這樣就在你的git上加上了全局用戶名和郵箱

原文鏈接:https://blog.csdn.net/weixin_44743543/article/details/123981018

欄目分類
最近更新