GitCommandResult (@NotNull GitRepository repository) { Hash startHash = getHead(repository); GitCommandResult result = myGit.resetMerge(repository, null); updateAndRefreshChangedVfs(repository, startHash); return result; }