Git commit时提示错误时
Git commit时提示错误时 解决办法vi 编辑vim 编辑a 进入编辑模式esc 退出编辑模式shift+: (看见: ) 代表开始执行下一行命名w->q 保存退出q->! 不保存退出cat->空格->文件名 查看文件 * 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>Omit –global to set the>fatal: unable to auto-detect email address解决办法: 打开终端,进入自己的项目下,有个.git目录 cd ~/MyPro/.git vi config repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true ignorecase = true #添加以下三行: email = yourname@me.com name = yourname posted on 2017-07-05 17:56 _chuck 阅读(...) 评论(...)编辑 收藏
页:
[1]