Skip to content

pushRange

Push and hide the respective endpoints of the given range.

Signature

ts
class Revwalk {
  pushRange(range: string): this;
}

Parameters

  • rangerequired · string

    The range should be of the form <commit>..<commit> where each <commit> is in the form accepted by revparseSingle. The left-hand commit will be hidden and the right-hand commit pushed.

Released under the MIT License.