Class StashApplyCommand

  • All Implemented Interfaces:
    Callable<ObjectId>

    public class StashApplyCommand
    extends GitCommand<ObjectId>
    Command class to apply a stashed commit. This class behaves like git stash apply --index, i.e. it tries to recover the stashed index state in addition to the working tree state.
    Since:
    2.0
    See Also:
    Git documentation about Stash
    • Constructor Detail

      • StashApplyCommand

        public StashApplyCommand​(Repository repo)
        Create command to apply the changes of a stashed commit
        Parameters:
        repo -