I'm trying to complete/continue a rebase (after it was stopped by JGit due to conflicts and after I resolved the conflicts and committed the changes) using the JGit library; but the command does not seem to have any effect. The repository remains in the "in progress" state
Git git = Git.open(new File("D:\\myDir"));
RebaseCommand rebaseCommand = git.rebase();
rebaseCommand.setUpstream("branch1"); //Have tried without this statement as well
rebaseCommand.setOperation(Operation.CONTINUE);
rebaseCommand.setPreserveMerges(false); //Have tried without this statement as well
rebaseCommand.call();
FYI... every other JGit command that I run (e.g. checkout, commit, push etc.) via JGit runs fine. I'm using JGit version 4.3.1.201605051710-r
Has anyone else run into this problem and would someone know the solution to this?