警告:这个 repo 有 Git 钩子。在 Windows 上使用 Git 钩子需要 sh.exe,但 GitKraken 找不到它

Warning: This repo has Git hooks. Using Git hooks on Windows requires sh.exe, but GitKraken couldn't find it

对于我的一个回购 GitKraken 显示此警告消息:"This repo has Git hooks. Using Git hooks on Windows requires sh.exe, but GitKraken couldn't find it."

重要吗?如何让 GK 找到这个 sh.exe 文件?或者如何解决这个问题?

此警告与 Git 有关 Windows

在首选项 --> 常规下有 'Path to sh.exe',您需要浏览并将其指向为 Windows 安装 Git 的任何位置,通常是:

计划Files\Git\bin.

或者也许:

C:\Users[你]\AppData\Local\Programs\Git\bin\sh.exe