Class RebaseCommand

  • All Implemented Interfaces:
    java.util.concurrent.Callable<RebaseResult>

    public class RebaseCommand
    extends GitCommand<RebaseResult>
    A class used to execute a Rebase command. It has setters for all supported options and arguments of this command and a call() method to finally execute the command. Each instance of this class should only be used for one invocation of the command (means: one call to call())

    See Also:
    Git documentation about Rebase
    • Field Detail

      • REBASE_MERGE

        public static final java.lang.String REBASE_MERGE
        The name of the "rebase-merge" folder for interactive rebases.
        See Also:
        Constant Field Values
      • STOPPED_SHA

        public static final java.lang.String STOPPED_SHA
        The name of the "stopped-sha" file
        See Also:
        Constant Field Values
    • Constructor Detail

      • RebaseCommand

        protected RebaseCommand​(Repository repo)
        Parameters:
        repo -