Git提交时报错

Git报错 unable to auto-detect email address (got 'lenovo@LAPTOP-DI6UPF95.(none)')

 

 解决办法:找到.git文件夹下cconfig文件,并在其后添加代码

 

      [user]
        email=your email
        name=your name

 

 

 

 

posted @ 2020-02-22 15:57  一江春水向东刘小姐  阅读(283)  评论(0)    收藏  举报