Git error --Git: failed to execute git

 Prompt Git: failed to execute git when all commits are selected in vscad

In the git log, you will see such a line of error message  empty ident name (for <XXXXXX.com>) not allowed (XXXXXX is your mailbox)

The reason for this error is: git does not set user information

solution:

set user.email and user.name

$ git config --global user.email "XXXXXX.com"  ( XXXXXX is your email address)

$ git config --global user.name "XXXXXX"  (set your username) 

Resubmit


Advertise: Taobao Tmall internal discount group, add me to WeChat to pull you into the group 18801014156



Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325622060&siteId=291194637
Git