git学习笔记(1) -- "user.name has multiple values"
来源:互联网 发布:大数据项目调研内容 编辑:程序博客网 时间:2024/06/06 00:03
参照萧大的
http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/00137396287703354d8c6c01c904c7d9ff056ae23da865a000
安装完成后,还需要最后一步设置,在命令行输入:
$ git config --global user.name "Your Name"$ git config --global user.email "email@example.com"
报错:$ git config --global user.name *******
warning: user.name has multiple values
error: cannot overwrite multiple values with a single value
Use a regexp, --add or --replace-all to change user.name.
搜索到解决办法:
http://blog.csdn.net/sky_miange/article/details/60881282
输入
$ git config --list
$ git config --listcore.symlinks=false
core.autocrlf=true
core.fscache=true
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=true
help.format=html
rebase.autosquash=true
http.sslcainfo=E:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
credential.helper=manager
user.name=*********
user.name=**
user.email=*********
发现user.name有多个值
然后我尝试着用
$ git config --global --replace-all user.email "输入你的邮箱"
$ git config --global --replace-all user.name "输入你的用户名"
然后再查看下
$ git config --list
发现修改成功了。
阅读全文
0 0
- git学习笔记(1) -- "user.name has multiple values"
- git bash笔记-配置/修改git的user.name/email
- Lisp.多值(Multiple values)
- 5.2 多值(Multiple values)
- GIT 初始化 user.name user.email
- git修改user.name和user.email
- git配置user.name和user.email
- SWIFT学习笔记(1)----- 简单值声明 Sample Values
- 配置Git的user name和email
- git设置user.name和email
- 多个user.name同时使用git
- git重置user name和email
- 如何修改git全局初始化的用户名和邮箱? (git修改user.name 和user.email)
- 如何修改git全局初始化的用户名和邮箱? (git修改user.name 和user.email)
- git user.name user.email到底是干嘛用的
- RailsCasts10 Refactoring User Name Part 1 重构User Name(一)
- git学习笔记(1)-git基础
- git 学习笔记(1)
- c#中的fastjson和Newtonsoft.Json的性能简单测试
- 数据结构(一知半解)
- 双缓存绘图 自定义刮奖效果View
- 404,500等错误页面配置
- jQuery插件开发精品教程,让你的jQuery提升一个台阶
- git学习笔记(1) -- "user.name has multiple values"
- 关于实现3D立体旋转效果的轮播视图
- ubuntu 终端显示英文,桌面环境显示中文方法
- Python-dict字典
- DOM 事件属性补充
- 手把手教你实现折线图之------安卓最好用的图表库hellocharts之最详细的使用介绍
- 心知天气API如何调用与json数据如何显示
- Spring 源码粘贴8
- 程序员:幸福感到底有多重要