Make sure you configure your "user.name" and "user.email" in git.

在vscode项目打开终端

git config user.name name
git config user.email email@email.com 

本来试了几次没成功,因为搜的文章里都是

// 配置邮箱
git config --global user.email "you@example.com"
 
// 配置用户名
git config --global user.name "Your Name"

我在最后加了双引号 所以一直没成功

posted @ 2024-03-27 23:03  ayubene  阅读(229)  评论(0)    收藏  举报