Fish在大型git项目里每次操作都会check一下文件的状态,导致卡顿严重,只需要在git项目里执行以下指令关闭检查即可解决 git config --local bash.showDirtyState 0 参考官方文档:fish_git_prompt - output git information for use in a prompt — fish-shell 3.7.0 documentation (fishshell.com)