idea更新项目时报一下错误
Couldn't save uncommitted changes.
Tried to save uncommitted changes in stash before Update, but failed with an error.stash file://E:/mec-inventory: unable to auto-detect email address (got 'Damai@Damai-PC.(none)')
Cannot save the current index state
需要修改项目下的.git文件夹下的config配置文件,Windows需要显示隐藏文件夹才可见
增加以下内容
[user]
email=your email
name=your name
参考:https://www.cnblogs.com/Traveller-Leon/p/6852680.html