git&github使用问题和解决记录
2017-11-27 10:38
363 查看
本帖是个记录帖,记录git使用时遇见的各种坑
看这俩行:
git config –global user.email “you@example.com”
git config –global user.name “Your Name”
这个错误说的是你之前已经配置过用户名了,如果要修改以前配置过的用户名那么就需要输入一个–replaceAll的命令。当然也可以去掉这个all的参数。
解决如下:
$ git config –global –replace-all user.email “输入你的邮箱”
$ git config –global –replace-all user.name “输入你的用户名”
问题:git提示please tell me who you are
完整的报错:*** 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 'thinkpad@thinkpad-PC.(none)')
看这俩行:
git config –global user.email “you@example.com”
git config –global user.name “Your Name”
问题:error: cannot overwrite multiple values with a single value
完整的报错:error: cannot overwrite multiple values with a single value Use a regexp, --add or --replace-all to change user.name.
这个错误说的是你之前已经配置过用户名了,如果要修改以前配置过的用户名那么就需要输入一个–replaceAll的命令。当然也可以去掉这个all的参数。
解决如下:
$ git config –global –replace-all user.email “输入你的邮箱”
$ git config –global –replace-all user.name “输入你的用户名”
相关文章推荐
- [置顶] github使用问题记录及解决办法
- 使用git将项目上传到github 以及解决“git commit -m”初始化问题
- git&gerrit 使用过程中遇到的问题及解决方法
- git & github 使用记录
- "BOF或EOF中有一个是真,或者当前的记录已被删除,所需的操作要求一个当前的记录"问题解决
- oracle使用小技巧--解决按号单排序和横向记录拼字段问题
- 解决使用CPicture类出现“error C2065: 'CArchiveStream' : undeclared identifier”的问题
- NET中"无法显示 XML 页。 使用 XSL 样式表无法查看 XML 输入。"问题的解决
- 解决cofs在colinux下使用git的权限问题
- 关于“此程序集中已使用了资源标识符 "Test.Searchn.resources”问题的解决办法
- Microsoft JET Database Engine 错误 '80004005' 操作必须使用一个可更新的查询。问题解决办法
- DB2 insert or update 解决方案(使用merge into 解决一条记录,或者多表关系问题)
- nginx升级到 0.8.53 之后,使用老的配置出现duplicate MIME type "text/html"问题的解决办法
- 解决在启动或使用 Word 时出现的问题的手动步骤 - Aland·Sun
- 解决了使用Firefox登录网通上网记录查询网页的问题
- 使用CsV格式的CDR记录碰到的一个怪问题的解决
- 避免使用count(*)获得表的记录数,解决其延迟问题
- Window访问Linux共享"您可能没有权限使用网络资源"问题解决
- C++Builder中关于INDY库的使用 以及一些问题的解决(E2238 Multiple declaration for 'fd_set')
- IIS ,NET中"无法显示 XML 页。 使用 XSL 样式表无法查看 XML 输入。"问题的解决