1 2 3 4 5 6 7 8 9 10
import { exec, which } from 'shelljs'; function ignoreCaseGit() { try { if (which('git')) { exec('git config core.ignorecase false '); } } catch (error) {} } ignoreCaseGit();