@Override
  public @NotNull GitCommandResult revert(@NotNull GitRepository repository,
                                          @NotNull String commit,
                                          boolean autoCommit,
                                          GitLineHandlerListener @NotNull ... listeners) {
    GitLineHandler handler = new GitLineHandler(repository.getProject(), repository.getRoot(), GitCommand.REVERT);
    handler.addParameters(commit);
    if (!autoCommit) {
      handler.addParameters("--no-commit");
    }
    addListeners(handler, listeners);
    return runCommand(handler);
  }
@Override
  public @NotNull GitCommandResult revert(@NotNull GitRepository repository,
                                          @NotNull String commit,
                                          boolean autoCommit,
                                          GitLineHandlerListener @NotNull ... listeners)