【坚持】Selenium+Python学习记录 DAY10

2018/05/31-2018/06/1

[官方文档](https://www.jetbrains.com/help/pycharm/set-up-a-git-repository.html

通过pycharm commit代码时,报错:Can't finish Github sharing process. Successfully created project 'Python' on GitHub, but initial commit failed: unable to auto-detect email address (got '...')

查了N多中文资料,还是没能解决,最终开始啃官方文档,希望今天能解决ヾ(◍°∇°◍)ノ゙

哈哈,历经千辛万苦,终于成功了。

错误原因:git的user.name配错了(最终还是通过百度自己推测出的原因,白啃了几小时英文文档-_-||)
修改方法:

1.打开Git Bash
2.切换到git repository目录下
3.通过git config --list查看已经配置的user.nameuser.email
4.如果错误,通过 git config user.name 你的目标用户名修改用户名

猜你喜欢

转载自www.cnblogs.com/flyin9/p/9121392.html