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

昨天刚配置好的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 ‘[email protected](none)‘)

后来找到了解决办法:
找到工程目录的.git文件夹,打开之后找到config文件,在最后边加上一句话
[user]
 email=your email
 name=your name
your email 和your name随便写上就行
参考链接:http://stackoverflow.com/questions/25671785/git-fatal-unable-to-auto-detect-email-address

时间: 2024-07-29 17:56:52

git中报unable to auto-detect email address 错误的解决拌办法的相关文章

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

每次重新新建工程时候git的配置信息都不能直接在命令行里修改 用户名 和邮箱,不会生效,且报错 *** Please tell me who you are. Run git config --global user.email "you[email protected]" git config --global user.name "Your Name" to set your account's default identity.Omit --global to

6种常见的Git错误以及解决的办法

我们都会犯错误,尤其是在使用像Git这样复杂的东西时.如果你是Git的新手,可以学习如何在命令行上开始使用Git.下面介绍如何解决六个最常见的Git错误. Photo by?Pawel Janiak?on?Unsplash 1. 最后一次代码提交时有拼写错误 经过几个小时的编码后,拼写错误很容易带到你的提交消息里面. 幸运的是,有一个简单的解决方案. git commit --amend 这会打开编辑器,并允许你更改最后一次提交消息. 没有人知道你把"addded"单词多加了一个字母&

Unable to find the wrapper "https"错误的解决办法

PHP.ini默认配置下,用file_get_contents读取https的链接,就会如下错误:Warning: fopen() [function.fopen]: Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? 这个错误分3种解决方案:1.windows下的PHP,只需要到php.ini中把extension=php_openssl.dll前面的;删掉

curl SSL certificate problem: unable to get local issuer certificate 错误的解决方法

报错信息为atal error: Uncaught exception 'Exception' with message 'SSL certificate problem: unable to get local issuer certificate' in......解决办法在php.ini 找到curl.cainfo = "d:/wamp/bin/php/php5.5.12/cacert.pem"证书下载地址: http://curl.haxx.se/ca/cacert.pem

Unable to compile class for JSP 错误的解决过程。

刚配置好Tomcat.启动项目没问题.然后一访问就报错了. ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2012-8-18 19:17:40 org.apache.catalina.core.StandardWrapperValve invoke 严重: Servlet.service() for servlet jsp threw exception org.apac

解决Odoo出现的Unable to send email, please configure the sender's email address or alias.

这是由于当前登录用户的邮件地址信息缺失造成的,需要设置其邮件地址. 方法:使用创建该用户的管理员帐号登录系统,开启技术特性,在需要设置邮箱地址的用户界面点击相关的业务伙伴标签链接,如图所示: 解决Odoo出现的Unable to send email, please configure the sender's email address or alias.

git报错:Auto Merge Failed; Fix Conflicts and Then Commit

本文来源:http://blog.csdn.net/trochiluses/article/details/101007191.出错场景: 协同开发时,我们从远程服务器上pull下代码的时候,出现以下提示信息: Auto Merge Failed; Fix Conflicts and Then Commit the Result. 2.原因分析: 利用git status,输出如下: [email protected]:/etc# git status# On branch master# Yo

Android Studio:Unable to add window [email protected] -- permission denied for this window 第一行代码

学习<第一行代码>的时候,出现的错误. java.lang.RuntimeException: Unable to start receiver com.example.sevenun.littledemo.receiver.ForceOfflineReceiver: android.view.WindowManager$BadTokenException: Unable to add window [email protected] -- permission denied for this

记一次git fatal: Unable to find remote helper for &#39;https&#39;问题的解决

登陆到远程linux服务器上,使用git, clone的时候报“fatal: Unable to find remote helper for 'https'”错,没管,绕过,使用git clone git://....协议download下来项目. 但是到提交完要push回服务器的时候,必须得用https,搜了一下问题,是系统中没有curl,都是要装curl的,比如: yum install curl-devel 或者apt-get等 但是问题来了,远程服务器上没有sudo到root的权限怎么