zoukankan      html  css  js  c++  java
  • fatal: unable to auto-detect email address (got 'tim@newton.(none)')的解决方法

    问题描述:

    使用git commit -m "wrote a readme file",就遇到了这个问题
    ** Please tell me who you are.

    Run

      git config --global user.email "you@example.com"
      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 'tim@newton.(none)')

    解决办法:

    找到工程目录的.git文件夹,打开之后找到config文件,在最后边添加如下信息:

    [user]
    email=your email
    name=your name

    注:你可能会找不到工程目录下的.git文件,那是因为这个目录默认是隐藏的,我们将它显示就阔以了。

  • 相关阅读:
    Canvas 绘画
    h5内容初探
    border&background1
    css3选择器补充
    bootstrap
    css3文本和颜色
    css3边框与背景
    css3选择器
    jQuery之dom操作(取赋值方法)
    push.default
  • 原文地址:https://www.cnblogs.com/Terrypython/p/10656499.html
Copyright © 2011-2022 走看看