Vue創(chuàng)建項(xiàng)目時(shí)遇到Skipped git commit due to missing username and email in git config.
原因:git沒(méi)有配置用戶名和郵箱
解決:終端配置自己的git用戶名和郵箱
git config --global user.name "zhuangzi"
git config --global user.email aa@qq.com
?。ㄟ@里的username是你想要輸入的用戶名,email是你想要設(shè)定的郵箱)
配置好之后可以通過(guò)在終端輸入查看自己的用戶名和郵件
git config user.name
git config user.email
再通過(guò)終端重新創(chuàng)建項(xiàng)目
vue create test
發(fā)現(xiàn)沒(méi)有任何提示,界面正常,問(wèn)題成功解決