将你的代码托管到github

参考博客:https://www.cnblogs.com/cxk1995/p/5800196.html

说一下我遇到的问题:

在输入git commit -m "提交信息"后出现如下报错:

*** Please tell me who you are.


Run


  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

解决方法:

随即输入以下命令

git config --global user.email "你的邮箱" (github登录邮箱)
git config --global user.name "你的名字"  (github用户名)

最后在进行git commit -m "提交信息" 操作即可

原文地址:https://www.cnblogs.com/1061321925wu/p/12606291.html