GitCommandResult (@NotNull GitRepository repository, @NotNull String message) { final GitLineHandler h = new GitLineHandler(repository.getProject(), repository.getRoot(), GitCommand.STASH); h.addParameters("save"); h.addParameters(message); return runCommand(h); }