Gti学习中“Please tell me who you are.”的解决
来源:互联网 发布:php编写99乘法表 编辑:程序博客网 时间:2024/06/05 01:04
最近在自学Git的使用,在尝试把一个文件放到Git仓库中遇到了问题,现在记录下来,希望可以帮助到刚接触git的同学:
先编写了一个Readme.txt文件,内容如下:
Git is a version control system.Git is free software.
第一步,用命令git add把文件添加到仓库:$ git add readme.txt
这一步没有出现问题。第二步,用命令git commit把文件提交到仓库:
$ git commit -m "wrote a readme file"
这一步却出现了意想不到的问题:但是最开始我已经用下面的命令配置过了:
$ git config --global user.name "youname"
$ git config --global user.email "youeamil@email.com"
无奈我又重新配置了一遍,但还是不行!后面去查了前辈们的解决办法,发现大家都是让用这个命令重新配置,但是都于事无补。
直到看到了这篇博客:http://blog.csdn.net/chenyufeng1991/article/details/50467339才发现了问题所在,解决了问题。
下面说一下我的解决方法,我是在windows系统下安装的Git,所以
1.先到自己创建的版本库目录下找到 .git目录,有可能是隐藏的,所以需要先取消隐藏。
2.在.git目录下找到config文件,用Notepad++打开,编辑config文件,发现我的config文件内容是这样的:
多了一个“[user]”,把第二个“[user]”去掉即可:
3.再次执行 git commit -m "wrote a readme file"命令即可成功:
阅读全文
0 0
- Gti学习中“Please tell me who you are.”的解决
- repo Please tell me who you are.
- *** Please tell me who you are.
- Git *** Please tell me who you are.
- Git: “please tell me who you are”
- please tell me who you are?
- Please tell me who you are?
- git中提示 please tell me who you are
- Xcode中git的使用方法介绍与"Please tell me who you are"问题的解决方案
- Xcode中git的使用方法介绍与"Please tell me who you are"问题的解决方案
- Xcode中git的使用方法介绍与"Please tell me who you are"问题的解决方案
- git的使用中遇到Please tell me who you are
- xcode 弹出 please tell me who you are
- 新建工程出现 ***Please tell me who you are 解决办法
- git提示please tell me who you are
- xcode7 弹出 please tell me who you are
- Git 相关问题: Please tell me who you are.
- git Please tell me who you are解决方法
- windows安装git
- 【MYSQL】查询不区分大小写
- 51nod 1091 线段的重叠
- bigDecimal作为参数传入方法中累加的坑
- ios水波纹效果
- Gti学习中“Please tell me who you are.”的解决
- UITableView什么时候使用,UITableView的使用条件使用场景,哪些情况不需要使用UITableView
- qt 通过http获取网络图片并且显示
- Android Listview加载不同布局,ViewHolder类型转换异常!!!
- 冰风1
- 流式统计的几个难点
- easyui的combobox 下拉框筛选自动填充扩展
- Mybatis学习
- python getattr/setattr/hasattr的用法