提交git报错,User name and email must be set before commit.

 

 解决:在项目下执行以下命令

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

  

  

posted @ 2022-05-14 15:35  lucky_tomato  阅读(1057)  评论(0编辑  收藏  举报