当用到:git commit -m "我的第一个代码“
遇到问题:fatal: unable to auto-detect email address (got ‘tim@newton.(none)’)

方法:

在git的全局配置文件中添加username和useremail

过程如下:

按照提示,执行以下两条命令:

git config --global user.email "you@example.com"//github上绑定的email
git config --global user.name "Your Name"//github的名字

可能会出现没有git的全局配置文件(文件名为”.gitconfig“,一般这个文件的路径是:C:\Users\Administrator),这个时候我们可以输入如下命令自动生成:

git config --edit --global

生成后再执行上面两条命令即可解决

fatal: unable to auto-detect email address (got ‘tim@newton.(none)‘)相关推荐

  1. git中报unable to auto-detect email address 错误的解决拌办法

    昨天刚配置好的git,今天刚要commit一些修改,就遇到了这个问题 ** Please tell me who you are. Run git config --global user.email ...

  2. git中报unable to auto-detect email address 错误的解决办法

    昨天刚配置好的git,今天刚要commit一些修改,就遇到了这个问题 ** Please tell me who you are. Run   git config --global user.ema ...

  3. fatal unable to auto-detect email address (got ‘...@...(none)‘)

    fatal: unable to auto-detect email address (got '-@-(none)') 一.错误: *** Please tell me who you are. R ...

  4. Git fatal unable to auto-detect email address

    WechatIMG1442.jpeg 场景 实现 Git Gitee仓库自动部署,使用 www-data 用户拉取代码时,每次都要设置全局 git 用户信息. 错误 $ cat /var/log/we ...

  5. git commit 命令出现“fatal: unable to auto-detect email address (got '******@.(none)')错误

    初学者使用git来控制代码版本时,使用git commit 命令是出现fatal: unable to auto-detect email address (got '-@-(none)') 错误,这 ...

  6. fatal: unable to auto-detect email address (got 'root@bogon.(none)')(4:散列问题解决方案)

    报错如下: *** Please tell me who you are. Run git config --global user.email "you@example.com" ...

  7. git commit时出现unable to auto-detect email address错误

    我的小站.Github 问题描述: 在git commit的时候出现如下报错 *** Please tell me who you are. Run git config --global user. ...

  8. git clone 遇到问题:fatal: unable to access

    git clone 遇到问题:fatal: unable to access 'https://github.com/ros-planning/navigation.git/': Failed to ...

  9. fatal: unable to access ‘https://github.com/xxx/123.git/‘: Failed connect to github.com:443 解决方案

    在linux上git clone时遇到 fatal: unable to access 'https://github.com/xx/xx.git/': Failed connect to githu ...

最新文章

  1. QImage、 QPixmap、 QBitmap、 QPicture区别
  2. Java、Python 竟成区块链主流开发语言?!
  3. IP地址的定义和含义
  4. raspberry ubuntu 修改源为清华_在Windows7基础上安装Ubuntu系统,实现双系统操作
  5. CISSP国际注册信息系统安全专家
  6. php浮动广告,JavaScript实现漂浮广告代码的实例总结
  7. 【Demllie航天】航天器控制系统
  8. 理正深基坑弹性计算方法_理正深基坑整体计算与单元计算的区别
  9. 英语好文22.6.23
  10. 正弦和余弦(角度到弧度)
  11. H3C无线网络延时大、数据丢包,不能上网,原来是有BUG
  12. javase扎金花程序
  13. 过滤敏感词汇(trie树实现敏感词过滤)
  14. 最全的软件测试面试题
  15. 杰理烧录器驱动安装失败
  16. 分享实录 | 阿里巴巴代码缺陷检测探索与实践
  17. es教程——地图搜索
  18. 安卓开发记账本app
  19. [附源码]Python计算机毕业设计SSM京津冀区域产学研项目管理信息系统(程序+LW)
  20. 搜狐白社会1个月来的使用体验(转)

热门文章

  1. python如何判断字符串是否以某个字母或者数字结尾
  2. Samplitude pro x4完美汉化破解版|Samplitude pro x4 64位完美汉化破解版(附汉化包)下载 v15.0.1.139
  3. 笔记本电脑连接蓝牙耳机自动断开,或者显示已配对但过几秒自动断开,蓝牙耳机连接不上笔记本电脑
  4. SAP PM 入门系列9 – PM模块的User-Exits BADIs
  5. C语言调用函数如何返回多个变量值?【基础】
  6. ArcGIS基础实验操作100例--实验3旋转矢量要素
  7. JAVA 使用if选择结构判断某一年份是否是闰年。闰年的条件:普通闰年:能被4整除但不能被100整除的年份为普通闰年。(如2004年就是闰年);世纪闰年:能被400整除的为世纪闰年。
  8. 游览器缓存和数据压缩
  9. Onlyoffice 添加中文字体,并修改字体大小显示为小四、四号等中文
  10. java 取一个整数a从右端开始的4~7位。