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 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

时间: 2024-07-31 18:09:12

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

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

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前面的;删掉

Git服务器代理上网安装出现问题的几个解决办法。

1.gem安装出现下面错误 [email protected]:/home/git/gitlab# sudo gem install bundler --no-ri --no-rdoc ERROR:  Could not find a valid gem 'bundler' (>= 0), here is why: Unable to download data from https://rubygems.org/ - Errno::ETIMEDOUT: Connection timed out

(转)git clone: error: RPC failed; result=18, HTTP code = 200 解决办法

git clone: error: RPC failed; result=18, HTTP code = 200 解决办法 分类: git2013-09-01 17:03 10753人阅读 评论(2) 收藏 举报 gitcurl ?今天git clone时,出现这个错误. [php] view plaincopy 因为自己的git库上面放了一些数据,所以整个库较大.google了一下,发现是curl的postBuffer 默认值较小的原因,配置下个这个值,就不会出现该错误了.

PowerDesigner16 生成的备注脚本,在sql server 2008 中报“对象名 'sysproperties' 无效”的错误的解决办法

主要是在建模时我们对表.列增加了些说明注释,而Sql2005之后系统表sysproperties已废弃删除而改用sys.extended_properties所致. 1.修改Table TableComment 部分 菜单Database -> Edit Current DBMS 窗体 General 选项卡 下 Script -> Objects -> Table –> TableComment 在开头部分替换如下: [if exists (select 1           

git报ssh variant 'simple' does not support setting port解决办法

解决办法 在git bash中输入命令 1 git config --global ssh.variant ssh 照着来一遍,肯定解决 git报ssh variant 'simple' does not support setting port解决办法 原文地址:https://www.cnblogs.com/xgjblog/p/9755080.html

git clone 时出现fatal:unable to access 如下情况报错及解决办法

克隆公司的项目直接是git clone +远程项目地址,一般是没问题的,但是最近发现想要再克隆一份时报错,之前操作都没问题,很郁闷,网上查了各种办法,也试了很多,都不管用,没找到根本问题. 后来在同事的帮助下,终于知道了原因.即使你是新入职的员工根据远程地址克隆不下来项目时除了,我上一篇写的问题之外,还有一个原因就是线上地址不正确.这当然不是你的错,解决办法就是问老员工,让他们查看下真正的远程地址:使用  git remote  -v ,即可查看,然后把地址发你,重新克隆就可以啦!可能也会有其他

Git commit时提示错误时    解决办法

vi 编辑 vim 编辑 a 进入编辑模式 esc 退出编辑模式 shift+:    (看见: ) 代表开始执行下一行命名 w->q 保存退出 q->! 不保存退出 cat->空格->文件名 查看文件 * Please tell me who you are. Run git config –global user.email "[email protected]" git config –global user.name "Your Name&qu

PyQt5遇到的一个坑 "ImportError: unable to find Qt5Core.dll on PATH" 及解决办法

最近再实现一个功能,主要是将自动化测试界面化 环境组合为:Windows 64bit + PyCharm + Python + PyQt5 + Pyinstaller + Inno Setup PS C:\windows\system32> python -V Python 3.7.0 PS C:\windows\system32> pip show pyqt5 Name: PyQt5 Version: 5.13.0 Summary: Python bindings for the Qt cr