git 的学习教程网站:
第一次运行时使用命令:
- git init
- git add *
- git commit -m “…”
运行之后提示**“Please tell me who you are…”**,这是因为创建信息不完整造成的,需要增加两条命令。
第二次执行命令:
1. git init
2. git config --global user.name “someone”
3. git config --global user.email "someone@someplace.com"
4. git add *
5. git commit -m “…”
此时不会再有报错。