checkParameter(ontoId.isPresent(), "The onto reference could not be resolved.");
rebase.setOnto(Suppliers.ofInstance(ontoId.get()));
}
try {
rebase.call();
} catch (RebaseConflictsException e) {
StringBuilder sb = new StringBuilder();
sb.append(e.getMessage() + "\n");
sb.append("When you have fixed this conflicts, run 'geogig rebase --continue' to continue rebasing.\n");
sb.append("If you would prefer to skip this commit, instead run 'geogig rebase --skip.\n");