public string ResetFile(string file) { file = file.ToPosixPath(); return RunGitCmd("checkout-index --index --force -- \"" + file + "\""); }