git的commint时出现的异常

2021/6/28 23:31:31

本文主要是介绍git的commint时出现的异常,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

下面这个问题是使用一个前端IDE,commit时报出的异常

Run

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

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got '沃时科技@DESKTOP-SHI3GOC.(none)')

解决方法: 

在git客户端执行这两行命令进行

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



这篇关于git的commint时出现的异常的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程