由于某种原因,林特上演的节目不断失败,显示出了lint-staged due to a git error。
使用版本13.0.3。
✖ lint-staged failed due to a git error.
Cleaning up temporary files...
Any lost modifications can be restored from a git stash:
> git stash list
stash@{0}: automatic lint-staged backup
> git stash apply --index stash@{0}发布于 2022-07-05 21:36:42
解决了这个问题。我检查了我的.git文件夹并找到了一个lint-staged_unstaged.patch文件。我删除了它并解决了这个问题。
https://stackoverflow.com/questions/72875815
复制相似问题