public static string ResetFile(string file) { file = FixPath(file); return RunCmd(Settings.GitCommand, "checkout-index --index --force -- \"" + file + "\""); }