Unit (@NotNull GitRepository repository, boolean autoCommit) { if (autoCommit) { // `git cherry-pick -n` doesn't create the CHERRY_PICK_HEAD removeCherryPickHead(repository); } return Unit.INSTANCE; }