public static void rebase(final @NotNull Project project,
                            final @NotNull List<? extends GitRepository> repositories,
                            final @NotNull GitRebaseParams params,
                            final @NotNull ProgressIndicator indicator) {
    if (!isRebaseAllowed(project, repositories)) return;  // TODO maybe move to the outside
    new GitRebaseProcess(project, GitRebaseSpec.forNewRebase(project, params, repositories, indicator), null).rebase();
  }
public static void rebase(final @NotNull Project project,
                            final @NotNull List<? extends GitRepository> repositories,
                            final @NotNull GitRebaseParams params,
                            final @NotNull ProgressIndicator indicator)