从无法访问的项目Fork
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
import { exec, which } from 'shelljs'; function ignoreCaseGit() { try {
if (which('git').code === 0) {
exec('git config core.ignorecase false '); }
} catch (error) { console.log(error); } } export function runPostInstall() { ignoreCaseGit();
}